unknown 3 years ago
parent
commit
6234c49dad
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/Http/Controllers/PatientController.php

+ 2 - 1
app/Http/Controllers/PatientController.php

@@ -373,6 +373,7 @@ class PatientController extends Controller
     }
 
     public function calendar(Request $request, Client $patient, Appointment $currentAppointment) {
+
         $pros = [];
 
         if($this->pro && $this->pro->pro_type != 'ADMIN') {
@@ -398,7 +399,7 @@ class PatientController extends Controller
             $pros = Pro::whereIn('id', $accessibleProIds)->get();
         }
 
-        return view('app.patient.appointment-calendar', compact('accessibleProIds', 'teams','pros', 'accessiblePros', 'patient', 'currentAppointment'));
+        return view('app.patient.appointment-calendar', compact('pros',  'patient', 'currentAppointment'));
     }
 
     public function programs(Request $request, Client $patient, $filter = '') {