|
@@ -10,7 +10,7 @@
|
|
|
@if($appointment->status === 'CONFIRMED')
|
|
|
<div class="text-nowrap">
|
|
|
<b class="text-success">{{ucwords($appointment->status)}}</b>
|
|
|
- <span class="text-secondary ml-1">on {{friendly_date_time($appointment->latest_confirmation_decision_at)}}</span>
|
|
|
+ <span class="text-secondary ml-1">on {{friendlier_date_time(convertToTimezone($appointment->latest_confirmation_decision_at, 'US/Eastern'))}}</span>
|
|
|
</div>
|
|
|
<div>
|
|
|
@include('app.patient.partials.appointment-request-confirmation', ['label' => 'Re-request Confirmation'])
|
|
@@ -18,7 +18,7 @@
|
|
|
@elseif($appointment->status === 'REJECTED')
|
|
|
<div class="text-nowrap">
|
|
|
<b class="text-warning-mellow">{{ucwords($appointment->status)}}</b>
|
|
|
- <span class="text-secondary ml-1">on {{friendly_date_time($appointment->latest_confirmation_decision_at)}}</span>
|
|
|
+ <span class="text-secondary ml-1">on {{friendlier_date_time(convertToTimezone($appointment->latest_confirmation_decision_at, 'US/Eastern'))}}</span>
|
|
|
</div>
|
|
|
<div>
|
|
|
<a href="/patients/view/{{$patient->uid}}/calendar/{{$appointment->uid}}" class="font-weight-bold">
|
|
@@ -26,10 +26,16 @@
|
|
|
</a>
|
|
|
</div>
|
|
|
@endif
|
|
|
+ @if($appointment->latestConfirmationDecision)
|
|
|
+ <div class="my-1 border text-sm px-2 py-1 bg-white max-width-300px">
|
|
|
+ <b>Client feedback:</b><br>
|
|
|
+ {{$appointment->latestConfirmationDecision->memo}}
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
@elseif($appointment->latest_confirmation_request_at) {{-- requested but not confirmed yet --}}
|
|
|
<div class="text-nowrap">
|
|
|
<b class="text-primary">Requested</b>
|
|
|
- <span class="text-secondary ml-1">on {{friendly_date_time($appointment->latest_confirmation_request_at)}}</span>
|
|
|
+ <span class="text-secondary ml-1">on {{friendlier_date_time(convertToTimezone($appointment->latest_confirmation_request_at, 'US/Eastern'))}}</span>
|
|
|
</div>
|
|
|
<div>
|
|
|
@include('app.patient.partials.appointment-request-confirmation', ['label' => 'Re-request Confirmation'])
|