public function recordPrescriptionShow($patientId) { $appointment = appointment::toBePrescribe($patientId); $prescription = $appointment->prescription; return view('pharmacist.recordPrescriptionHistory2')->with('appointment', $appointment)->with('prescription', $prescription); }