Commit 6f534ff2 by Azhan Hannan

resubmit overhead

parent 05cb9625
...@@ -1962,7 +1962,6 @@ class DashboardController extends Controller ...@@ -1962,7 +1962,6 @@ class DashboardController extends Controller
]; ];
} }
} }
// dd($overheadlist);
} }
} }
else else
......
...@@ -2129,7 +2129,6 @@ class FormController extends Controller ...@@ -2129,7 +2129,6 @@ class FormController extends Controller
foreach ($detail as $key => $value) foreach ($detail as $key => $value)
{ {
$projectid = $key; $projectid = $key;
// dump($projectid);
foreach ($value as $keyday => $day) foreach ($value as $keyday => $day)
{ {
...@@ -2324,6 +2323,7 @@ class FormController extends Controller ...@@ -2324,6 +2323,7 @@ class FormController extends Controller
$checktotalhours->save(); $checktotalhours->save();
$checko = Tproject::where('fk_tm_id', $tmasterid) $checko = Tproject::where('fk_tm_id', $tmasterid)
->where('tp_project_type', $overhead)
->first(); ->first();
// dd($request); // dd($request);
......
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