Commit 928d8177 by Azhan Hannan

redundant data staff, dashboardpm

parent 8db7da79
......@@ -163,7 +163,7 @@ class DashboardController extends Controller
$verifier = Users::find(Auth::id());
$profile = VwChargeableVerification::select('tmid', 'staff_id', 'year', 'month', 'phase', 'status', 'submission', 'fullname', 'roleid', 'pmstaffid')
$profile = VwChargeableVerification::select('tmid', 'staff_id', 'year', 'month', 'phase', 'status', 'submission', 'fullname', 'pmstaffid')
->where('pmstaffid', $verifier->u_staffID)
->whereIn('status', [2,6])
// ->groupby('staff_id')
......@@ -174,7 +174,7 @@ class DashboardController extends Controller
->orderby('roleid')
->with('countchargeable')
->get();
// dd($verifier->u_staffID);
// dd($profile);
$details = Tproject::where('tp_pm', $verifier->u_staffID)
// ->where('tp_timesheet_sts', 2)
......
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