Bladeren bron

Client dashboard now links to the new calendar

Vijayakrishnan 4 jaren geleden
bovenliggende
commit
4bc39ebcf8
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      resources/views/app/patient/appointment-calendar.blade.php

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

@@ -373,7 +373,7 @@
                         eventTypes: '{{ $currentAppointment ? 'BOTH_ALL' : 'BOTH' }}',
                         calendar: null,
                         proMeta: {!! json_encode($proMeta) !!},
-                        proIds: ['{{ $pro->id }}'],
+                        proIds: ['{{ $currentAppointment ? $currentAppointment->pro_id : $pro->id }}'],
                         timezone: '{{ $currentAppointment ? $currentAppointment->timezone : 'EASTERN' }}',
                         today: new Date('{{ date('Y-m-d 00:00:00') }}'),