|
@@ -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 = '') {
|