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
19511ea7
Commit
19511ea7
authored
Dec 01, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
4daf75b4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
packages/portal/timesheet/resources/views/dashboard/dashboardbod.blade.php
+4
-3
packages/portal/timesheet/resources/views/dashboard/dashboardhod.blade.php
+4
-4
No files found.
packages/portal/timesheet/resources/views/dashboard/dashboardbod.blade.php
View file @
19511ea7
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
@section('content')
@section('content')
<!-- Staff Timesheet Section Start -->
<div
class=
"ui segment"
>
<div
class=
"ui segment"
>
<div
class=
"ui blue left ribbon label"
>
<div
class=
"ui blue left ribbon label"
>
Timesheet Approval
Timesheet Approval
...
@@ -183,10 +184,9 @@
...
@@ -183,10 +184,9 @@
<?php
<?php
$checknotes
=
$td
->
where
(
'td_overhead_note'
,
'<>'
,
null
);
$checknotes
=
$td
->
where
(
'td_overhead_note'
,
'<>'
,
null
);
// dd($checknotes);
?>
?>
@if(count($checknotes)
<
0
)
@if(count($checknotes)
>
0)
@if(data_get($staff,'team.pelulus') == data_get($approval,'id'))
@if(data_get($staff,'team.pelulus') == data_get($approval,'id'))
<table
class=
"ui unstackable celled table"
>
<table
class=
"ui unstackable celled table"
>
<thead>
<thead>
...
@@ -200,7 +200,7 @@
...
@@ -200,7 +200,7 @@
@foreach($td as $key => $value)
@foreach($td as $key => $value)
@if($value->td_overhead_note
&&
$value->fk_tm_id == $staff->tmid)
@if($value->td_overhead_note
&&
$value->fk_tm_id == $staff->tmid)
<tr>
<tr>
<td
style=
"width: 10%"
class=
"center aligned"
>
>
{{ date("d-m-Y", strtotime(data_get($value, 'td_date'))) }}
</td>
<td
style=
"width: 10%"
class=
"center aligned"
>
{{ date("d-m-Y", strtotime(data_get($value, 'td_date'))) }}
</td>
<td
style=
"width: 25%"
class=
"single line"
>
{{data_get($value, 'td_overhead_desc')}}
</td>
<td
style=
"width: 25%"
class=
"single line"
>
{{data_get($value, 'td_overhead_desc')}}
</td>
<td>
{{data_get($value, 'td_overhead_note')}}
</td>
<td>
{{data_get($value, 'td_overhead_note')}}
</td>
</tr>
</tr>
...
@@ -284,6 +284,7 @@
...
@@ -284,6 +284,7 @@
@endforeach
@endforeach
</div>
</div>
</div>
</div>
<!-- Staff Timesheet Section End -->
<!-- Verification Section Start -->
<!-- Verification Section Start -->
@if(count($profile) > 0)
@if(count($profile) > 0)
...
...
packages/portal/timesheet/resources/views/dashboard/dashboardhod.blade.php
View file @
19511ea7
...
@@ -117,8 +117,8 @@
...
@@ -117,8 +117,8 @@
<td style="
width
:
12
%
;
" class="
text
-
center
">
<td style="
width
:
12
%
;
" class="
text
-
center
">
@if(data_get(
$tpcharge
,'tp_timesheet_sts') == 5|| data_get(
$tpcharge
,'tp_timesheet_sts') == 6)
@if(data_get(
$tpcharge
,'tp_timesheet_sts') == 5|| data_get(
$tpcharge
,'tp_timesheet_sts') == 6)
<button class="
center
aligned
ui
red
icon
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
rejected
', ['
tpid
' => data_get($tpcharge,'
id
')]) }}'
;
">Resubmit</button>
<button class="
center
aligned
ui
red
icon
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
rejected
', ['
tpid
' => data_get($tpcharge,'
id
')]) }}'
;
">Resubmit</button>
@elseif(data_get(
$
value
,'tm_timesheet_master_sts') == 1)
@elseif(data_get(
$
tpcharge
,'tp_timesheet_sts') == 2) Waiting for Verification
<!-- <button class="
center
aligned
ui
blue
icon
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
chargeableForm
', ['
year
' => data_get($tpcharge,'
tp_year
'), '
month
' => data_get($tpcharge,'
tp_month
'), '
phase
' => data_get($tpcharge,'
tp_phase
')]) }}'
;
">Edit Draft</button> -->
@elseif(data_get(
$tpcharge
,'tp_timesheet_sts') == 3) Waiting for Approval
@else
@else
<!-- <button class="
center
aligned
ui
red
icon
button
disabled
">Resubmit</button> -->
<!-- <button class="
center
aligned
ui
red
icon
button
disabled
">Resubmit</button> -->
@endif
@endif
...
@@ -167,8 +167,8 @@
...
@@ -167,8 +167,8 @@
<td style="
width
:
12
%
;
" class="
text
-
center
">
<td style="
width
:
12
%
;
" class="
text
-
center
">
@if(data_get(
$tpoverhead
,'tp_timesheet_sts') == 5 || data_get(
$tpoverhead
,'tp_timesheet_sts') == 6)
@if(data_get(
$tpoverhead
,'tp_timesheet_sts') == 5 || data_get(
$tpoverhead
,'tp_timesheet_sts') == 6)
<button class="
center
aligned
ui
red
icon
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
rejected
', ['
tpid
' => data_get($tpoverhead,'
id
')]) }}'
;
">Resubmit</button>
<button class="
center
aligned
ui
red
icon
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
form
.
rejected
', ['
tpid
' => data_get($tpoverhead,'
id
')]) }}'
;
">Resubmit</button>
@elseif(data_get(
$
value
,'tm_timesheet_master_sts') == 1)
@elseif(data_get(
$
tpoverhead
,'tp_timesheet_sts') == 2) Waiting for Verification
return ke edit overhead
@elseif(data_get(
$tpoverhead
,'tp_timesheet_sts') == 3) Waiting for Approval
@else
@else
<!-- <button class="
center
aligned
ui
red
icon
button
disabled
">Resubmit</button> -->
<!-- <button class="
center
aligned
ui
red
icon
button
disabled
">Resubmit</button> -->
@endif
@endif
...
...
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