|
@@ -687,6 +687,7 @@
|
|
|
<a start show href="#" class="px-2 pb-1 d-block text-nowrap" data-action="showEditAppointmentModal_Status">Edit status</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
<script>
|
|
|
(function() {
|
|
|
|
|
@@ -702,7 +703,7 @@
|
|
|
client: {!! json_encode($patient) !!},
|
|
|
eventTypes: '{{ $currentAppointment ? 'BOTH_ALL' : 'APPOINTMENTS' }}',
|
|
|
calendar: null,
|
|
|
- proIds: ['{{ $currentAppointment ? $currentAppointment->pro_id : ($oPro ? $oPro->id : $pro->id) }}'],
|
|
|
+ proIds: ['{{ $currentAppointment ? $currentAppointment->pro_id : ($oPro ? $oPro->id : ($patient->mcp ? $patient->mcp->id : $pro->id)) }}'],
|
|
|
lastSelectedProUid: '',
|
|
|
timezone: '{{ $currentAppointment ? $currentAppointment->timezone : 'EASTERN' }}',
|
|
|
today: new Date('{{ date('Y-m-d 00:00:00') }}'),
|