Explorar o código

Client dashboard now links to the new calendar

Vijayakrishnan %!s(int64=4) %!d(string=hai) anos
pai
achega
4bc39ebcf8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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') }}'),