Commit 18ac43da by Azhan Hannan

Log Pia #121, #122, #123

parent 5dab96b4
...@@ -1595,12 +1595,19 @@ class DashboardController extends Controller ...@@ -1595,12 +1595,19 @@ class DashboardController extends Controller
Tproject::where('fk_tm_id', $request->tid) Tproject::where('fk_tm_id', $request->tid)
->where('tp_project_type', 3) ->where('tp_project_type', 3)
->update([ 'tp_timesheet_sts' => 3] ); ->update([
'tp_timesheet_sts' => 3,
'tp_verified_at' => today()->toDateString(),
'verifier_remark' => 'verified',
]);
} }
else else
{ {
Ts_master::where('id', $request->tid) Ts_master::where('id', $request->tid)
->update([ 'tm_timesheet_master_sts' => 3 ]); ->update([
'tm_timesheet_master_sts' => 3,
'tm_verified_at' => today()->toDateString(),
]);
Ts_detail::where('fk_tm_id', $request->tid) Ts_detail::where('fk_tm_id', $request->tid)
->where('td_project_type', 3) ->where('td_project_type', 3)
...@@ -1608,10 +1615,13 @@ class DashboardController extends Controller ...@@ -1608,10 +1615,13 @@ class DashboardController extends Controller
Tproject::where('fk_tm_id', $request->tid) Tproject::where('fk_tm_id', $request->tid)
->where('tp_project_type', 3) ->where('tp_project_type', 3)
->update([ 'tp_timesheet_sts' => 3] ); ->update([
'tp_timesheet_sts' => 3,
'tp_verified_at' => today()->toDateString(),
'verifier_remark' => 'verified',
]);
} }
} }
if( $roleid == '9' ) if( $roleid == '9' )
......
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