Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
3
3f-timesheet
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dockers
3f-timesheet
Commits
a563b89f
Commit
a563b89f
authored
Sep 20, 2022
by
hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove nonchargeable in timesheet review, timesheet viewer, chargeable form, overhead form
parent
cf4f9c07
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
55 deletions
+5
-55
packages/portal/timesheet/resources/views/dashboard/timesheetReview.blade.php
+5
-18
packages/portal/timesheet/resources/views/dashboard/timesheetViewer.blade.php
+0
-0
packages/portal/timesheet/resources/views/form/chargeableForm.blade.php
+0
-4
packages/portal/timesheet/resources/views/form/overheadForm.blade.php
+0
-33
No files found.
packages/portal/timesheet/resources/views/dashboard/timesheetReview.blade.php
View file @
a563b89f
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<table class="
ui
unstackable
celled
table
">
<table class="
ui
unstackable
celled
table
">
<thead>
<thead>
<tr>
<tr>
<th colspan="
3
" style="
width
:
60
%
;
"><i class="
dropdown
icon
"></i>{{ data_get(
$staff
,'fullname') }}</th>
<th colspan="
2
" style="
width
:
60
%
;
"><i class="
dropdown
icon
"></i>{{ data_get(
$staff
,'fullname') }}</th>
<th style="
width
:
15
%
;
" class="
center
aligned
">
<th style="
width
:
15
%
;
" class="
center
aligned
">
@if(
$staff->status
== 1 ||
$staff->status
== null) In Preparation
@if(
$staff->status
== 1 ||
$staff->status
== null) In Preparation
@elseif(
$staff->status
== 2) <i class="
red
attention
icon
"></i> Submitted
@elseif(
$staff->status
== 2) <i class="
red
attention
icon
"></i> Submitted
...
@@ -38,9 +38,8 @@
...
@@ -38,9 +38,8 @@
</th>
</th>
</tr>
</tr>
<tr>
<tr>
<td style="
width
:
20
%
;
">Chargeable (A) : {{ data_get(
$staff
,'chargeable') }}</td>
<td style="
width
:
30
%
;
">Chargeable (A) : {{ data_get(
$staff
,'chargeable') }}</td>
<td style="
width
:
20
%
;
">Nonchargeable (B) : {{ data_get(
$staff
,'nonchargeable') }}</td>
<td style="
width
:
30
%
;
">Overhead (B) : {{ data_get(
$staff
,'overhead') }}</td>
<td style="
width
:
20
%
;
">Overhead (C) : {{ data_get(
$staff
,'overhead') }}</td>
<td style="
width
:
15
%
;
">Overtime: {{ data_get(
$staff
,'overtime') }}</td>
<td style="
width
:
15
%
;
">Overtime: {{ data_get(
$staff
,'overtime') }}</td>
<td class="
right
aligned
">Total Hours/Days: {{ data_get(
$staff
,'totalhrs')."
hours
/
".number_format(data_get(
$staff
,'totalhrs')/8, 1, '.', '')."
days
" }}</td>
<td class="
right
aligned
">Total Hours/Days: {{ data_get(
$staff
,'totalhrs')."
hours
/
".number_format(data_get(
$staff
,'totalhrs')/8, 1, '.', '')."
days
" }}</td>
</tr>
</tr>
...
@@ -50,8 +49,7 @@
...
@@ -50,8 +49,7 @@
<?php
<?php
$cptype
= "
A
";
$cptype
= "
A
";
$ncptype
= "
B
";
$otype
= "
B
";
$otype
= "
C
";
$td
=
$checktd->where
('tm_staff_id',
$staff->staff_id
);
$td
=
$checktd->where
('tm_staff_id',
$staff->staff_id
);
$detail
=
$details->where
('staffid',
$staff->staff_id
);
$detail
=
$details->where
('staffid',
$staff->staff_id
);
$ts
=
$checkts->where
('tm_staff_id',
$staff->staff_id
);
$ts
=
$checkts->where
('tm_staff_id',
$staff->staff_id
);
...
@@ -82,18 +80,7 @@
...
@@ -82,18 +80,7 @@
</tr>
</tr>
@endforeach
@endforeach
@endif
@endif
@if(
$detail->where
('ptype', 2))
@foreach(
$detail->where
('ptype', 2) as
$key
=>
$nonchargeable
)
<tr>
<td style="
width
:
6
%
;
" class="
center
aligned
">{{
$ncptype
}}</td>
<td style="
width
:
17
%
;
">{{ data_get(
$nonchargeable
, 'pcode') }}</td>
<td style="
width
:
26
%
;
">{{ data_get(
$nonchargeable
, 'pname') }}</td>
<td style="
width
:
26
%
;
">{{ data_get(
$nonchargeable
, 'pmname') }}</td>
<td style="
width
:
12.5
%
;
" class="
center
aligned
">{{ data_get(
$nonchargeable
, 'hours') }}</td>
<td style="
width
:
12.5
%
;
" class="
center
aligned
">{{ number_format(data_get(
$nonchargeable
, 'hours')/8, 1, '.', '') }}</td>
</tr>
@endforeach
@endif
@if(
$detail->where
('ptype', 3))
@if(
$detail->where
('ptype', 3))
@foreach(
$detail->where
('ptype', 3) as
$key
=>
$chargeable
)
@foreach(
$detail->where
('ptype', 3) as
$key
=>
$chargeable
)
<tr>
<tr>
...
...
packages/portal/timesheet/resources/views/dashboard/timesheetViewer.blade.php
View file @
a563b89f
This diff is collapsed.
Click to expand it.
packages/portal/timesheet/resources/views/form/chargeableForm.blade.php
View file @
a563b89f
...
@@ -22,10 +22,6 @@ input[type=number] {
...
@@ -22,10 +22,6 @@ input[type=number] {
<br>
<br>
<br>
<br>
<!-- <button class="
center
aligned
ui
violet
compact
right
labeled
icon
button
" onclick="
window
.
location
.
href
=
'{ route('
timesheet
::
form
.
nonChargeableForm
', ['
phase
' => $phase, '
month
' => $month, '
year
' => $year]) }'
;
">
<i class="
angle
double
right
icon
"></i>
Non-Chargeable Form
</button> -->
<button class="
center
aligned
ui
purple
compact
right
labeled
icon
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
overheadForm
', ['
phase
' => $phase, '
month
' => $month, '
year
' => $year]) }}'
;
">
<button class="
center
aligned
ui
purple
compact
right
labeled
icon
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
overheadForm
', ['
phase
' => $phase, '
month
' => $month, '
year
' => $year]) }}'
;
">
<i class="
angle
double
right
icon
"></i>
<i class="
angle
double
right
icon
"></i>
Overhead Form
Overhead Form
...
...
packages/portal/timesheet/resources/views/form/overheadForm.blade.php
View file @
a563b89f
...
@@ -24,45 +24,12 @@ input[type=number] {
...
@@ -24,45 +24,12 @@ input[type=number] {
<div class="
ui
segment
">
<div class="
ui
segment
">
<a class="
ui
purple
left
ribbon
label
">Overhead Form</a>
<a class="
ui
purple
left
ribbon
label
">Overhead Form</a>
<br>
<br>
<!-- <form class="
ui
form
">
<div class="
field
">
<div class="
three
fields
">
<div class="
one
wide
field
">
<label>Phase</label>
<input type="
text
" placeholder="
Year
" value="
{{
$phase
}}
" readonly="
readonly
">
</div>
<div class="
one
wide
field
">
<label>Month</label>
<input type="
text
" placeholder="
Month
" value="
{{
$month
}}
" readonly="
readonly
">
</div>
<div class="
two
wide
field
">
<label>Year</label>
<input type="
text
" placeholder="
Year
" value="
{{
$year
}}
" readonly="
readonly
">
</div>
</div>
</div>
</form> -->
<br>
<br>
<!-- @if(
$phase
== 1)
<button class="
center
aligned
ui
green
compact
right
labeled
icon
button
" id="
phase2
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
overheadForm
', ['
phase
' => 2, '
month
' => $month, '
year
' => $year]) }}'
;
">
<i class="
angle
double
right
icon
"></i>
Phase 2
</button>
@else
<button class="
center
aligned
ui
green
compact
labeled
icon
button
" id="
phase1
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
overheadForm
', ['
phase
' => 1, '
month
' => $month,'
year
' => $year]) }}'
;
">
<i class="
angle
double
left
icon
"></i>
Phase 1
</button>
@endif -->
<button class="
center
aligned
ui
blue
compact
labeled
icon
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
chargeableForm
', ['
phase
' => $phase, '
month
' => $month, '
year
' => $year]) }}'
;
">
<button class="
center
aligned
ui
blue
compact
labeled
icon
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
chargeableForm
', ['
phase
' => $phase, '
month
' => $month, '
year
' => $year]) }}'
;
">
<i class="
angle
double
left
icon
"></i>
<i class="
angle
double
left
icon
"></i>
Chargeable Form
Chargeable Form
</button>
</button>
<!-- <button class="
center
aligned
ui
violet
compact
labeled
icon
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
nonChargeableForm
', ['
phase
' => $phase, '
month
' => $month, '
year
' => $year]) }}'
;
">
<i class="
angle
double
left
icon
"></i>
Non-Chargeable Form
</button> -->
@if(
$checkoverhead
)
@if(
$checkoverhead
)
<button class="
right
floated
aligned
ui
yellow
compact
labeled
icon
button
" id="
notes
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
notelist
', ['
year
'=> $year, '
month
'=> $month, '
phase
'=> $phase, '
fk_tm_id
'=> $fk_tm_id] ) }} '
;
">
<button class="
right
floated
aligned
ui
yellow
compact
labeled
icon
button
" id="
notes
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
notelist
', ['
year
'=> $year, '
month
'=> $month, '
phase
'=> $phase, '
fk_tm_id
'=> $fk_tm_id] ) }} '
;
">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment