Commit a2f87f27 by Azhan Hannan

changes

parent 07791583
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<?php <?php
$project = count(data_get($staff,'countchargeable')->where('tp_pm', $verifier->u_staffID)); $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)); $checksts = count(data_get($staff,'countchargeable')->where('tp_pm', $verifier->u_staffID)->where('tp_timesheet_sts', 3));
?> ?>
@if($project == $checksts) @if($project == $checksts)
...@@ -166,8 +167,6 @@ ...@@ -166,8 +167,6 @@
@endif @endif
@endforeach @endforeach
</div> </div>
</div> </div>
......
...@@ -375,7 +375,7 @@ class DashboardController extends Controller ...@@ -375,7 +375,7 @@ class DashboardController extends Controller
$details = Tproject::where('tp_year', $curryear) $details = Tproject::where('tp_year', $curryear)
->where('tp_month', $month) ->where('tp_month', $month)
->where('tp_phase', $phase) ->where('tp_phase', $phase)
->where('tp_timesheet_sts', 2) // ->where('tp_timesheet_sts', 2)
->where('tp_pm', $verifier->u_staffID) ->where('tp_pm', $verifier->u_staffID)
->with('project') ->with('project')
->with('pm') ->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