Commit 7abfc674 by Azhan Hannan

log pia 96

parent 32434066
......@@ -1634,7 +1634,7 @@ class FormController extends Controller
$checktotalhours->tm_overhead_days = $sumdetailhour/8.0;
$checktotalhours->save();
return redirect()->route('timesheet::form.overheadForm', ['phase' => $request->phase, 'month' =>$request->month,'year',$request->year])->with('success', 'Overhead form updated! Kindly update your description accordingly before proceed with timesheet submission. Thank you 😊');
return redirect()->route('timesheet::form.overheadForm', ['phase' => $request->phase, 'month' =>$request->month,'year',$request->year])->with('success', 'Overhead form updated! Kindly update your description accordingly before proceed with timesheet submission. Thank you');
}
public function addOverheadDescription(Request $request)
......@@ -1931,7 +1931,7 @@ class FormController extends Controller
}
else
{
return redirect()->route('timesheet::form.notelist', ['year'=> $year, 'month' =>$month, 'phase' => $phase, 'fk_tm_id' => $request->fk_tm_id])->with('warning', 'No data to update. Kindly update your overehead form first. Thank you 😊');
return redirect()->route('timesheet::form.notelist', ['year'=> $year, 'month' =>$month, 'phase' => $phase, 'fk_tm_id' => $request->fk_tm_id])->with('warning', 'No data to update. Kindly update your overehead form first. Thank you');
}
}
......@@ -2546,7 +2546,7 @@ class FormController extends Controller
// dd($request);
return redirect()->route('timesheet::form.rejected', ['tpid' => data_get($checko,'id'), 'page'=> data_get($request,'page')])->with('success', 'Overhead form updated! Kindly update your description accordingly before proceed to resubmit overhead. Thank you 😊');
return redirect()->route('timesheet::form.rejected', ['tpid' => data_get($checko,'id'), 'page'=> data_get($request,'page')])->with('success', 'Overhead form updated! Kindly update your description accordingly before proceed to resubmit overhead. Thank you');
}
public function resubmitconfirm(Request $request)
......@@ -2581,7 +2581,7 @@ class FormController extends Controller
{
if($value->td_overhead_note == null)
{
return redirect()->route('timesheet::form.notelist', ['year' => $tmaster->tm_year, 'month'=> $tmaster->tm_month, 'phase'=> $tmaster->tm_phase, 'fk_tm_id'=> $request->fk_tm_id, 'page'=>$request->page ])->withErrors('Kindly fill in and save your notes before submit your timesheet. Thank you 😊');
return redirect()->route('timesheet::form.notelist', ['year' => $tmaster->tm_year, 'month'=> $tmaster->tm_month, 'phase'=> $tmaster->tm_phase, 'fk_tm_id'=> $request->fk_tm_id, 'page'=>$request->page ])->withErrors('Kindly fill in and save your notes before submit your timesheet. Thank you');
}
}
......@@ -2692,7 +2692,7 @@ class FormController extends Controller
// ->update([ 'tp_timesheet_sts' => 3] );
// }
return redirect()->route('timesheet::dashboard.index')->withSuccess('Rejected overhead has been resubmit 😊');
return redirect()->route('timesheet::dashboard.index')->withSuccess('Rejected overhead has been resubmit');
}
public function deletedraft(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