소스 검색

Client dashboard now links to the new calendar

Vijayakrishnan 4 년 전
부모
커밋
4bc39ebcf8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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') }}'),