|
@@ -21,38 +21,52 @@ $apptsPending = [
|
|
|
</div>
|
|
|
@endif
|
|
|
@if(count($apptsPending['status']))
|
|
|
- @foreach($apptsPending['status'] as $appt)
|
|
|
- <div class="d-flex mb-1 {{ $loop->last ? '':'border-bottom' }} px-2 py-1" discardable-container>
|
|
|
- <div class="flex-grow-1 d-inline-flex align-items-baseline">
|
|
|
- <div>
|
|
|
+ <table class="table table-sm table-striped">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>Patient</th>
|
|
|
+ <th>Time</th>
|
|
|
+ <th>Memo</th>
|
|
|
+ <th>Status</th>
|
|
|
+ <th></th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ @foreach($apptsPending['status'] as $appt)
|
|
|
+ <tr discardable-container>
|
|
|
+ <td>
|
|
|
<a class="d-block"
|
|
|
- href="/patients/view/{{$appt->client->uid}}"><b>{{$appt->client->displayName()}}</b></a>
|
|
|
- <span class="d-block text-sm">{{friendlier_date_time($appt->start_time)}}</span>
|
|
|
- </div>
|
|
|
- <div class="ml-auto mr-3 text-right">
|
|
|
- <span class="font-weight-bold text-secondary">{{$appt->status}}</span>
|
|
|
+ href="/patients/view/{{$appt->client->uid}}">{{$appt->client->displayName()}}</a>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ {{friendlier_date_time($appt->start_time)}}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
@if($appt->status_memo)
|
|
|
- <div class="text-secondary text-sm">{{$appt->status_memo}} This is a status memo
|
|
|
- </div>
|
|
|
- @endif
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="">
|
|
|
- <form url="/api/appointment/acknowledgeStatusAsAppointmentPro" discardable>
|
|
|
- <input type="hidden" name="uid" value="{{$appt->uid}}">
|
|
|
- <input type="hidden" name="currentStatus" value="{{$appt->status}}">
|
|
|
- @if($appt->status_memo !== null)
|
|
|
- <input type="hidden" name="currentStatusMemo" value="{{$appt->status_memo}}">
|
|
|
+ <div class="text-secondary text-sm">{{$appt->status_memo}}</div>
|
|
|
@endif
|
|
|
- <input type="hidden" name="currentRawDate" value="{{$appt->raw_date}}">
|
|
|
- <input type="hidden" name="currentRawStartTime" value="{{$appt->raw_start_time}}">
|
|
|
- <input type="hidden" name="currentRawEndTime" value="{{$appt->raw_end_time}}">
|
|
|
- <input type="hidden" name="currentTimezone" value="{{$appt->timezone}}">
|
|
|
- <button submit class="bg-transparent border-0 p-0 text-primary">Ack.</button>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- @endforeach
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <span class="font-weight-bold text-secondary">{{$appt->status}}</span>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <form url="/api/appointment/acknowledgeStatusAsAppointmentPro" discardable>
|
|
|
+ <input type="hidden" name="uid" value="{{$appt->uid}}">
|
|
|
+ <input type="hidden" name="currentStatus" value="{{$appt->status}}">
|
|
|
+ @if($appt->status_memo !== null)
|
|
|
+ <input type="hidden" name="currentStatusMemo" value="{{$appt->status_memo}}">
|
|
|
+ @endif
|
|
|
+ <input type="hidden" name="currentRawDate" value="{{$appt->raw_date}}">
|
|
|
+ <input type="hidden" name="currentRawStartTime" value="{{$appt->raw_start_time}}">
|
|
|
+ <input type="hidden" name="currentRawEndTime" value="{{$appt->raw_end_time}}">
|
|
|
+ <input type="hidden" name="currentTimezone" value="{{$appt->timezone}}">
|
|
|
+ <button submit class="bg-transparent border-0 p-0 text-primary">Ack.</button>
|
|
|
+ </form>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ @endforeach
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
@endif
|
|
|
</div>
|
|
|
</div>
|
|
@@ -70,24 +84,34 @@ $apptsPending = [
|
|
|
</div>
|
|
|
@endif
|
|
|
@if(count($apptsPending['decision']))
|
|
|
- @foreach($apptsPending['decision'] as $appt)
|
|
|
- <div class="d-flex mb-1 {{ $loop->last ? '':'border-bottom' }} px-2 py-1" discardable-container>
|
|
|
- <div class="flex-grow-1 d-inline-flex align-items-baseline">
|
|
|
- <div>
|
|
|
+ <table class="table table-sm table-striped">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>Patient</th>
|
|
|
+ <th>Time</th>
|
|
|
+ <th>Status</th>
|
|
|
+ <th></th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ @foreach($apptsPending['decision'] as $appt)
|
|
|
+ <tr discardable-container>
|
|
|
+ <td>
|
|
|
<a class="d-block"
|
|
|
- href="/patients/view/{{$appt->client->uid}}"><b>{{$appt->client->displayName()}}</b></a>
|
|
|
- <span class="d-block text-sm">{{friendlier_date_time($appt->start_time)}}</span>
|
|
|
- </div>
|
|
|
- <span class="ml-auto mr-3 font-weight-bold text-secondary">{{$appt->latestConfirmationDecision->decision_enum}}</span>
|
|
|
- </div>
|
|
|
- <div class="">
|
|
|
- <form url="/api/appointment/acknowledgeDecisionAsAppointmentPro" discardable>
|
|
|
- <input type="hidden" name="uid" value="{{$appt->uid}}">
|
|
|
- <button submit class="bg-transparent border-0 p-0 text-primary">Ack.</button>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- @endforeach
|
|
|
+ href="/patients/view/{{$appt->client->uid}}">{{$appt->client->displayName()}}</a>
|
|
|
+ </td>
|
|
|
+ <td>{{friendlier_date_time($appt->start_time)}}</td>
|
|
|
+ <td>{{$appt->latestConfirmationDecision->decision_enum}}</td>
|
|
|
+ <td>
|
|
|
+ <form url="/api/appointment/acknowledgeDecisionAsAppointmentPro" discardable>
|
|
|
+ <input type="hidden" name="uid" value="{{$appt->uid}}">
|
|
|
+ <button submit class="bg-transparent border-0 p-0 text-primary">Ack.</button>
|
|
|
+ </form>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ @endforeach
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
@endif
|
|
|
</div>
|
|
|
</div>
|