예제 #1
0
 public function viewDoctorAppointment(Request $request)
 {
     // if(Auth::user()->userType == "doctor")
     //     $doctorId = Auth::user()->userId;
     // else $doctorId = $request->doctor;
     $doctorId = $request->doctor;
     $appointments = appointment::viewDoctorAppointment($doctorId);
 }