public function delayAppointmentByStaffStore(Request $request) { $input = $request->all(); $patientId = $appointment->patientId; $appointment = appointment::delayAppointment($input); return redirect('/manageAppointmentForPatient/' . $patientId); }