Browse Source

Client dashboard now links to the new calendar

Vijayakrishnan 4 years ago
parent
commit
4bc39ebcf8
1 changed files with 1 additions and 1 deletions
  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' }}',
                         eventTypes: '{{ $currentAppointment ? 'BOTH_ALL' : 'BOTH' }}',
                         calendar: null,
                         calendar: null,
                         proMeta: {!! json_encode($proMeta) !!},
                         proMeta: {!! json_encode($proMeta) !!},
-                        proIds: ['{{ $pro->id }}'],
+                        proIds: ['{{ $currentAppointment ? $currentAppointment->pro_id : $pro->id }}'],
                         timezone: '{{ $currentAppointment ? $currentAppointment->timezone : 'EASTERN' }}',
                         timezone: '{{ $currentAppointment ? $currentAppointment->timezone : 'EASTERN' }}',
                         today: new Date('{{ date('Y-m-d 00:00:00') }}'),
                         today: new Date('{{ date('Y-m-d 00:00:00') }}'),