Commit e2591a91 by Azhan Hannan

chargeable form -> redirect to 2023

parent 19b80f5f
......@@ -221,6 +221,7 @@ class FormController extends Controller
public function savechargeablehours(Request $request)
{
// dd($request);
$roleid = auth()->user()->roles['0']->id;
$chargeable = 1;
......@@ -420,8 +421,8 @@ class FormController extends Controller
$checktotalhours->tm_chargeable_hrs = $sumdetailhour;
$checktotalhours->tm_chargeable_days = $sumdetailhour/8.0;
$checktotalhours->save();
return redirect()->route('timesheet::form.chargeableForm', ['phase' => $request->phase, 'month' =>$request->month,'year',$request->year])->with('success', 'Timesheet Updated');
return redirect()->route('timesheet::form.chargeableForm', ['phase' => $request->phase, 'month' =>$request->month,'year'=>$request->year])->with('success', 'Timesheet Updated');
}
// public function nonChargeableForm(Request $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