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
4d313346
Commit
4d313346
authored
Oct 12, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard staff -> set status submission
parent
4f3f3202
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
packages/portal/timesheet/resources/views/dashboard/dashboardstaff.blade.php
+12
-4
No files found.
packages/portal/timesheet/resources/views/dashboard/dashboardstaff.blade.php
View file @
4d313346
...
...
@@ -96,10 +96,18 @@
<thead>
<tr>
<th style="
width
:
60
%
" class="
text
-
center
">
{
{data_get($value,'tm_year')}
}
- {{ date("
F
", mktime(0, 0, 0, data_get(
$value
,'tm_month'), 10)) }} - Phase
{
{data_get($value,'tm_phase')}
}
</th>
<th style="
width
:
15
%
;
" class="
center
aligned
">
{
{data_get($value,'tm_timesheet_master_sts')}
}
</th>
<th style="
width
:
15
%
;
" class="
center
aligned
">
@if(data_get(
$value
,'tm_timesheet_master_sts') == 1) Draft
@elseif(data_get(
$value
,'tm_timesheet_master_sts') == 2) <i class="
green
check
icon
"></i> Submitted
@elseif(data_get(
$value
,'tm_timesheet_master_sts') == 3) <i class="
green
check
icon
"></i> Verified by PM
@elseif(data_get(
$value
,'tm_timesheet_master_sts') == 4) <i class="
green
check
icon
"></i> Approved by PD
@elseif(data_get(
$value
,'tm_timesheet_master_sts') == 5) <i class="
green
check
icon
"></i> Rejected by PD
@elseif(data_get(
$value
,'tm_timesheet_master_sts') == 6) <i class="
green
check
icon
"></i> Rejected by PM
@endif
</th>
<th style="
width
:
13
%
" class="
text
-
center
">Submitted on:
{
{data_get($value,'tm_submission_at')}
}
</th>
<th style="
width
:
12
%
" class="
text
-
center
">
<button class="
center
aligned
ui
blue
icon
button
">View</button>
<button class="
center
aligned
ui
blue
icon
button
">View
Project
</button>
</th>
</tr>
</thead>
...
...
@@ -152,7 +160,7 @@
@endif
</td>
<td style="
width
:
12
%
;
" class="
text
-
center
">
@if(data_get(
$tpcharge
,'tp_timesheet_sts') == 5||6)
@if(data_get(
$tpcharge
,'tp_timesheet_sts') == 5||
data_get(
$tpcharge
,'tp_timesheet_sts') ==
6)
<button class="
center
aligned
ui
green
icon
button
">Resubmit</button>
@else
<button class="
center
aligned
ui
green
icon
button
disabled
">Resubmit</button>
...
...
@@ -196,7 +204,7 @@
@endif
</td>
<td style="
width
:
12
%
;
" class="
text
-
center
">
@if(data_get(
$tpoverhead
,'tp_timesheet_sts') == 5
||
6)
@if(data_get(
$tpoverhead
,'tp_timesheet_sts') == 5
|| data_get(
$tpoverhead
,'tp_timesheet_sts') ==
6)
<button class="
center
aligned
ui
green
icon
button
">Resubmit</button>
@else
<button class="
center
aligned
ui
green
icon
button
disabled
">Resubmit</button>
...
...
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