Commit f6bec6ed by Azhan Hannan

add notes to pmhod dashboard if there if, all pending submission have verified

parent c9dba014
......@@ -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, 'tmid'))
<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, 'staffid'))
@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>
......
......@@ -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">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment