Commit a2f87f27 by Azhan Hannan

changes

parent 07791583
......@@ -14,6 +14,7 @@
<?php
$project = count(data_get($staff,'countchargeable')->where('tp_pm', $verifier->u_staffID));
$checksts = count(data_get($staff,'countchargeable')->where('tp_pm', $verifier->u_staffID)->where('tp_timesheet_sts', 3));
?>
@if($project == $checksts)
......@@ -96,7 +97,7 @@
$overhead = $overheads->where('staffid', $staff->staff_id);
$checkoverhead = $overheads->where('staffid', $staff->staff_id)->first();
?>
@if($checkoverhead)
<table class="ui unstackable celled table">
<thead>
......@@ -164,9 +165,7 @@
@endif
</div>
@endif
@endif
@endforeach
</div>
......
......@@ -375,7 +375,7 @@ class DashboardController extends Controller
$details = Tproject::where('tp_year', $curryear)
->where('tp_month', $month)
->where('tp_phase', $phase)
->where('tp_timesheet_sts', 2)
// ->where('tp_timesheet_sts', 2)
->where('tp_pm', $verifier->u_staffID)
->with('project')
->with('pm')
......
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