Commit 5c70324d by Azhan Hannan

dashboard pmhod, remove filter project

parent f0ffd832
......@@ -14,7 +14,6 @@
<?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)
......
......@@ -66,7 +66,7 @@ class DashboardController extends Controller
->get();
$details = Tproject::where('tp_project_type', 3)
->where('tp_timesheet_sts', 2)
// ->where('tp_timesheet_sts', 2)
->where('tp_pm', $verifier->id)
->with('notes')
->get();
......@@ -144,14 +144,14 @@ class DashboardController extends Controller
->get();
// dd($profile);
$details = Tproject::where('tp_timesheet_sts', 2)
->where('tp_pm', $verifier->u_staffID)
$details = Tproject::where('tp_pm', $verifier->u_staffID)
// ->where('tp_timesheet_sts', 2)
->with('project')
->with('pm')
->get();
$overheads = Tproject::where('tp_project_type', 3)
->where('tp_timesheet_sts', 2)
// ->where('tp_timesheet_sts', 2)
->where('tp_pm', $verifier->id)
->with('notes')
->get();
......
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