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
f6bec6ed
Commit
f6bec6ed
authored
Oct 06, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add notes to pmhod dashboard if there if, all pending submission have verified
parent
c9dba014
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
6 deletions
+19
-6
packages/portal/timesheet/resources/views/dashboard/dashboardpmhod.blade.php
+12
-6
packages/portal/timesheet/resources/views/dashboard/projectVerify.blade.php
+7
-0
No files found.
packages/portal/timesheet/resources/views/dashboard/dashboardpmhod.blade.php
View file @
f6bec6ed
...
...
@@ -17,12 +17,20 @@
?>
@if(
$project
==
$checksts
)
<table class="
ui
unstackable
celled
table
">
<thead>
<tr>
<th class="
text
-
center
">All timesheet has been verified</th>
</tr>
</thead>
</table>
@else
<div class="
title
">
<table class="
ui
unstackable
celled
table
">
<thead>
<tr>
<th style="
width
:
60
%
;
"><i class="
dropdown
icon
"></i>{{ data_get(
$staff
,'fullname') }}</th>
<th style="
width
:
40
%
;
"><i class="
dropdown
icon
"></i>{{ data_get(
$staff
,'fullname') }}</th>
<th style="
width
:
20
%
" class="
text
-
center
">{{ data_get(
$staff
,'year') }} - {{ date("
F
", mktime(0, 0, 0, data_get(
$staff
,'month'), 10)) }} - Phase {{ data_get(
$staff
,'phase') }}</th>
<th style="
width
:
15
%
;
" class="
center
aligned
">
<?php
// dd(
$profile
);
...
...
@@ -63,7 +71,7 @@
</tr>
</thead>
@foreach(
$details
as
$key
=>
$detail
)
@if(data_get(
$detail
,'
staffid') == data_get(
$staff
, 'staff_
id'))
@if(data_get(
$detail
,'
fk_tm_id') == data_get(
$staff
, 'tm
id'))
<tr>
<td style="
width
:
10
%
;
">{{data_get(
$detail
, 'project.p_project_code')}}</td>
<td style="
width
:
15
;
">{{data_get(
$detail
, 'project.p_project_description')}}</td>
...
...
@@ -110,8 +118,8 @@
</tr>
</thead>
@foreach(
$overheads
as
$key
=>
$tp
)
@if(data_get(
$staff
, '
staff_id') == data_get(
$tp
, 'staff
id'))
@foreach(
$overheads
as
$key
=>
$tp
)
@if(data_get(
$staff
, '
tmid') == data_get(
$tp
, 'fk_tm_
id'))
<tr>
<td style="
width
:
25
;
">{{data_get(
$tp
, 'tp_project_name')}}</td>
<td style="
width
:
10
%
;
" class="
center
aligned
">{{data_get(
$tp
, 'tp_hours')}}</td>
...
...
@@ -163,9 +171,7 @@
</table>
@endif
</div>
@endif
@endforeach
</div>
</div>
...
...
packages/portal/timesheet/resources/views/dashboard/projectVerify.blade.php
View file @
f6bec6ed
...
...
@@ -18,6 +18,13 @@
?>
@if(
$project
==
$checksts
)
<table class="
ui
unstackable
celled
table
">
<thead>
<tr>
<th class="
text
-
center
">All timesheet has been verified</th>
</tr>
</thead>
</table>
@else
<div class="
title
">
<table class="
ui
unstackable
celled
table
">
...
...
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