|
@@ -266,7 +266,7 @@
|
|
|
<span class="text-secondary font-size-11">on</span>
|
|
|
{{friendlier_date_time($nextAppt->raw_date . ' ' . $nextAppt->raw_start_time)}}
|
|
|
</div>
|
|
|
- @if($nextAppt->status === 'CREATED')
|
|
|
+ @if($nextAppt->status === 'PENDING') {{-- WIP: ALIX overhaul --}}
|
|
|
<div
|
|
|
class="text-warning-mellow font-weight-bold font-size-11 mt-1">
|
|
|
<i class="fa fa-exclamation-triangle"></i>
|
|
@@ -279,10 +279,10 @@
|
|
|
Confirmed by the patient
|
|
|
</div>
|
|
|
@endif
|
|
|
- @if($nextAppt->status === 'REJECTED')
|
|
|
+ @if($nextAppt->status === 'CANCELLED')
|
|
|
<div class="text-danger font-weight-bold font-size-11 mt-1">
|
|
|
<i class="fa fa-stop"></i>
|
|
|
- Rejected by the patient
|
|
|
+ Cancelled
|
|
|
</div>
|
|
|
@endif
|
|
|
@endif
|
|
@@ -310,7 +310,7 @@
|
|
|
<span class="text-secondary font-size-11">on</span>
|
|
|
{{friendlier_date_time($nextAppt->raw_date . ' ' . $nextAppt->raw_start_time)}}
|
|
|
</div>
|
|
|
- @if($nextAppt->status === 'CREATED')
|
|
|
+ @if($nextAppt->status === 'PENDING')
|
|
|
<div
|
|
|
class="text-warning-mellow font-weight-bold font-size-11 mt-1">
|
|
|
<i class="fa fa-exclamation-triangle"></i>
|
|
@@ -323,10 +323,10 @@
|
|
|
Confirmed by the patient
|
|
|
</div>
|
|
|
@endif
|
|
|
- @if($nextAppt->status === 'REJECTED')
|
|
|
+ @if($nextAppt->status === 'CANCELLED')
|
|
|
<div class="text-danger font-weight-bold font-size-11 mt-1">
|
|
|
<i class="fa fa-stop"></i>
|
|
|
- Rejected by the patient
|
|
|
+ Cancelled
|
|
|
</div>
|
|
|
@endif
|
|
|
@endif
|
|
@@ -464,11 +464,10 @@
|
|
|
<select v-model="filterStatus"
|
|
|
class="form-control form-control-sm">
|
|
|
<option value="">All</option>
|
|
|
- <option value="CREATED">Created</option>
|
|
|
+ <option value="PENDING">Pending</option>
|
|
|
<option value="CONFIRMED">Confirmed</option>
|
|
|
<option value="CANCELLED">Cancelled</option>
|
|
|
<option value="COMPLETED">Completed</option>
|
|
|
- <option value="ABANDONED">Abandoned</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -494,7 +493,7 @@
|
|
|
<span class="small d-inline-block pl-2 text-secondary font-weight-normal">@{{ event.clientSummary }}</span>
|
|
|
</div>
|
|
|
<div class="d-flex align-items-baseline">
|
|
|
- <div v-if="event.status === 'CREATED'"
|
|
|
+ <div v-if="event.status === 'PENDING'"
|
|
|
class="text-warning-mellow font-weight-bold">
|
|
|
<i class="fa fa-exclamation-triangle"></i>
|
|
|
Confirmation pending
|
|
@@ -504,10 +503,10 @@
|
|
|
<i class="fa fa-check"></i>
|
|
|
Confirmed by the patient
|
|
|
</div>
|
|
|
- <div v-else-if="event.status === 'REJECTED'"
|
|
|
+ <div v-else-if="event.status === 'CANCELLED'"
|
|
|
class="text-danger font-weight-bold">
|
|
|
<i class="fa fa-stop"></i>
|
|
|
- Rejected by the patient
|
|
|
+ Cancelled
|
|
|
</div>
|
|
|
<div v-else class="text-secondary">
|
|
|
Status: <b>@{{ event.status }}</b>
|
|
@@ -527,11 +526,10 @@
|
|
|
<select v-model="event.newStatus"
|
|
|
class="form-control form-control-sm bg-light"
|
|
|
v-on:change="updateStatus(event)">
|
|
|
- <option value="CREATED">CREATED</option>
|
|
|
+ <option value="PENDING">PENDING</option>
|
|
|
<option value="CONFIRMED">CONFIRMED</option>
|
|
|
<option value="CANCELLED">CANCELLED</option>
|
|
|
<option value="COMPLETED">COMPLETED</option>
|
|
|
- <option value="ABANDONED">ABANDONED</option>
|
|
|
</select>
|
|
|
<div v-if="selectedDate === '{{ date('Y-m-d') }}'"
|
|
|
class="pt-1 text-right"
|
|
@@ -587,7 +585,7 @@
|
|
|
tab: '{{ request()->input('tab') ? request()->input('tab') : 'measurements' }}',
|
|
|
datesWithEvents: [],
|
|
|
selectedDate: '{{ date('Y-m-d') }}',
|
|
|
- selectedStatus: 'CREATED',
|
|
|
+ selectedStatus: 'PENDING',
|
|
|
events: [],
|
|
|
numEventsForDate: 0,
|
|
|
filterStatus: '',
|