Commit 963c0a86 by Azhan Hannan

changes log pia -> pm tak dapat staff yg direject pd -> resubmit function

parent 6380ef38
......@@ -250,7 +250,7 @@
$allproject = count(data_get($profile[$key], 'countchargeable'));
?>
@if($status == 1 || $status == null) In Preparation
@elseif($verified == $allproject) <i class="green check icon"></i> Verified by PM
@elseif($verified == $allproject || $status == 3) <i class="green check icon"></i> Verified by PM
@elseif($status == 2) <i class="red attention icon"></i> Submitted
@elseif($status == 4) <i class="green check icon"></i>Verified by PD
@elseif($status == 5) <i class="red attention icon"></i>Dissaproved by PD
......
......@@ -166,7 +166,7 @@ class DashboardController extends Controller
$profile = VwChargeableVerification::select('tmid', 'staff_id', 'year', 'month', 'phase', 'status', 'submission', 'fullname', 'pmstaffid')
->where('pmstaffid', $verifier->u_staffID)
->whereIn('status', [2,6])
->whereIn('status', [2,3,6])
// ->groupby('staff_id')
->distinct('staff_id')
->orderby('year', 'desc')
......
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