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