|
@@ -1,3 +1,9 @@
|
|
|
|
+<div>
|
|
|
|
+ <div class="pl-3 mb-3 d-inline-flex align-items-baseline">
|
|
|
|
+ <a href="#" native class="mr-3 text-decoration-none" onclick="$('#admin-patients-list-extended>table').addClass('stag-compact-grid'); return false;"><i class="fa fa-list text-sm"></i> Grid</a>
|
|
|
|
+ <a href="#" native class="text-decoration-none" onclick="$('#admin-patients-list-extended>table').removeClass('stag-compact-grid'); return false;"><i class="fa fa-file text-sm"></i> Details</a>
|
|
|
|
+ </div>
|
|
|
|
+</div>
|
|
<div class="table-responsive border-top" style="height: calc(100vh - 280px)" id="admin-patients-list-extended">
|
|
<div class="table-responsive border-top" style="height: calc(100vh - 280px)" id="admin-patients-list-extended">
|
|
<table class="table p-0 m-0 table-sm table-striped border-bottom text-nowrap">
|
|
<table class="table p-0 m-0 table-sm table-striped border-bottom text-nowrap">
|
|
<thead class="bg-light">
|
|
<thead class="bg-light">
|
|
@@ -76,11 +82,13 @@
|
|
{{-- {{$patient->lastMcpAppointment ? friendly_date_time($patient->lastMcpAppointment->raw_date.' '.$patient->lastMcpAppointment->raw_start_time) : '-'}}--}}
|
|
{{-- {{$patient->lastMcpAppointment ? friendly_date_time($patient->lastMcpAppointment->raw_date.' '.$patient->lastMcpAppointment->raw_start_time) : '-'}}--}}
|
|
</td>
|
|
</td>
|
|
<td>{{$patient->nextMcpAppointment ? friendly_date_time($patient->nextMcpAppointment->raw_date.' '.$patient->nextMcpAppointment->raw_start_time) : '-'}}
|
|
<td>{{$patient->nextMcpAppointment ? friendly_date_time($patient->nextMcpAppointment->raw_date.' '.$patient->nextMcpAppointment->raw_start_time) : '-'}}
|
|
- <br>
|
|
|
|
- {{$patient->nextMcpAppointment ? $patient->nextMcpAppointment->status : '-'}}
|
|
|
|
|
|
+ <div if-details-view>
|
|
|
|
+ {{$patient->nextMcpAppointment ? $patient->nextMcpAppointment->status : '-'}}
|
|
|
|
+ </div>
|
|
</td>
|
|
</td>
|
|
|
|
|
|
<td class="p-0 pb-1">
|
|
<td class="p-0 pb-1">
|
|
|
|
+ <div if-details-view>
|
|
@if(count($patient->activeNotes))
|
|
@if(count($patient->activeNotes))
|
|
<?php $noteIndex = 0; ?>
|
|
<?php $noteIndex = 0; ?>
|
|
@foreach ($patient->activeNotes as $note)
|
|
@foreach ($patient->activeNotes as $note)
|
|
@@ -259,6 +267,10 @@
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endforeach
|
|
@endif
|
|
@endif
|
|
|
|
+ </div>
|
|
|
|
+ <div if-grid-view class="p-1">
|
|
|
|
+ {{count($patient->activeNotes)}}
|
|
|
|
+ </div>
|
|
</td>
|
|
</td>
|
|
|
|
|
|
<td>
|
|
<td>
|