Commit c6629de3 by Azhan Hannan

Update bod witherrors to withsuccess

parent 0afec7d0
......@@ -1270,7 +1270,7 @@ class DashboardController extends Controller
}
// if(data_get($request,'page') == 1){
return redirect()->route('timesheet::dashboard.index')->withErrors('Staff project has been rejected with remarks');
return redirect()->route('timesheet::dashboard.index')->withSuccess('Staff project has been rejected with remarks');
// }
// return redirect()->route('timesheet::dashboard.timesheetApproval', compact('month', 'phase'))->withErrors('Staff project has been rejected with remarks');
......
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