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)
......@@ -166,8 +167,6 @@
@endif
@endforeach
</div>
</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