Commit 8846eb50 by Azhan Hannan

update remove comment all timesheet verified

parent 63e3a785
...@@ -289,6 +289,7 @@ ...@@ -289,6 +289,7 @@
$page = 1; $page = 1;
$project = $checksts = 0; $project = $checksts = 0;
$pmss = $profile->where('dept', 4)->where('staff_id', '<>', $verifier->u_staffID); $pmss = $profile->where('dept', 4)->where('staff_id', '<>', $verifier->u_staffID);
// dd($profile);
?> ?>
@if($pms) @if($pms)
@foreach($pmss as $key => $staff) @foreach($pmss as $key => $staff)
...@@ -311,7 +312,7 @@ ...@@ -311,7 +312,7 @@
@foreach($pmss as $key => $staff) @foreach($pmss as $key => $staff)
<?php <?php
// dd($staff); // dump($staff);
// dd(data_get($staff,'countchargeable')); // dd(data_get($staff,'countchargeable'));
$project = count(data_get($staff,'countchargeable')->where('tp_pm', $verifier->u_staffID)); $project = count(data_get($staff,'countchargeable')->where('tp_pm', $verifier->u_staffID));
$projectoverhead = count(data_get($staff,'countoverhead')->where('tp_pm', $verifier->id)); $projectoverhead = count(data_get($staff,'countoverhead')->where('tp_pm', $verifier->id));
...@@ -544,7 +545,7 @@ ...@@ -544,7 +545,7 @@
$checksts = count(data_get($staff,'countchargeable')->where('tp_pm', $verifier->u_staffID)->where('tp_timesheet_sts', 3)); $checksts = count(data_get($staff,'countchargeable')->where('tp_pm', $verifier->u_staffID)->where('tp_timesheet_sts', 3));
?> ?>
@endforeach @endforeach
@if($project == $checksts) <!-- @if($project == $checksts)
<table class="ui unstackable celled table"> <table class="ui unstackable celled table">
<thead> <thead>
<tr> <tr>
...@@ -552,7 +553,7 @@ ...@@ -552,7 +553,7 @@
</tr> </tr>
</thead> </thead>
</table> </table>
@endif @endif -->
@foreach($notpms as $key => $staff) @foreach($notpms as $key => $staff)
<?php <?php
......
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