unknown 3 vuotta sitten
vanhempi
commit
78ef4ce00b

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

@@ -396,7 +396,7 @@ class PatientController extends Controller
             $pros = Pro::whereIn('id', $accessibleProIds)->get();
         }
 
-        return view('app.patient.appointment-calendar', compact('pros', 'patient', 'currentAppointment'));
+        return view('app.patient.appointment-calendar', compact('accessibleProIds', 'teams','pros', 'accessiblePros', 'patient', 'currentAppointment'));
     }
 
     public function programs(Request $request, Client $patient, $filter = '') {
@@ -562,7 +562,7 @@ class PatientController extends Controller
         if($patient->latestClientPrimaryCoverage->plan_type === 'COMMERCIAL'){
             return view('app.patient.primary-coverage-manual-determination-commercial-modal', compact('patient'));
         }
-        
+
         return "Plan Type is missing!";
     }
 

+ 5 - 0
resources/views/app/patient/appointment-calendar.blade.php

@@ -4,6 +4,11 @@
 
     <?php
     dump($pros);
+    dump($accessiblePros);
+    dump($accessibleProIds);
+    dump($teams);
+    dump($pros);
+    dump($accessiblePros);
     ?>
 
     <?php