Commit d3680abf by Azhan Hannan

test

parent d1118f13
...@@ -229,7 +229,7 @@ class DashboardController extends Controller ...@@ -229,7 +229,7 @@ class DashboardController extends Controller
$verifier = Users::find(Auth::id()); $verifier = Users::find(Auth::id());
$profile = VwChargeableVerification::select('tmid', 'staff_id', 'year', 'month', 'phase', 'status', 'submission', 'fullname', 'roleid', 'pmstaffid', 'dept') $profile = VwChargeableVerification::select('tmid', 'staff_id', 'year', 'month', 'phase', 'status', 'submission', 'fullname', 'pmstaffid', 'dept')
->where('pmstaffid', $verifier->u_staffID) ->where('pmstaffid', $verifier->u_staffID)
// ->where('status', '<>', 1) // ->where('status', '<>', 1)
->whereIn('status', [2,3,5,6]) ->whereIn('status', [2,3,5,6])
...@@ -239,7 +239,7 @@ class DashboardController extends Controller ...@@ -239,7 +239,7 @@ class DashboardController extends Controller
->with('countoverhead') ->with('countoverhead')
// ->with('department') // ->with('department')
->get(); ->get();
// dd($profile); dd($profile);
$staffnotes = Tproject::where('tp_project_type', 3) $staffnotes = Tproject::where('tp_project_type', 3)
->whereIn('tp_timesheet_sts', [2,3,5,6]) ->whereIn('tp_timesheet_sts', [2,3,5,6])
->where('staffid', $verifier->u_staffID) ->where('staffid', $verifier->u_staffID)
......
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