unknown 3 роки тому
батько
коміт
b51db42c91
1 змінених файлів з 21 додано та 21 видалено
  1. 21 21
      resources/views/app/mcp/patients-table.blade.php

+ 21 - 21
resources/views/app/mcp/patients-table.blade.php

@@ -40,16 +40,16 @@
 	<tbody>
 		@foreach($patients as $patient)
 		<tr>
-			<td class="px-3">
+			<td class="px-3 text-nowrap">
 				<a native target="_blank" href="{{route('patients.view.dashboard', $patient)}}">
 					{{$patient->chart_number}}
 				</a>
 			</td>
-			<td>{{$patient->displayName()}}</td>
+			<td class="text-nowrap">{{$patient->displayName()}}</td>
 			<td class="text-nowrap">{{ friendly_date_time($patient->dob, false) }}</td>
-			<td>{{ $patient->age_in_years ?  $patient->age_in_years : '-' }}</td>
-			<td>{{ $patient->sex }}</td>
-			<td>
+			<td class="text-nowrap">{{ $patient->age_in_years ?  $patient->age_in_years : '-' }}</td>
+			<td class="text-nowrap">{{ $patient->sex }}</td>
+			<td class="text-nowrap">
 				<div class="d-flex flex-column">
 					@if($patient->usual_bmi_min && $patient->usual_bmi_max)
 						<small class="text-muted">BMI (Usual): <b>{{ $patient->usual_bmi_min }}</b> {{ $patient->usual_bmi_min_category }} to <b>{{ $patient->usual_bmi_max }}</b> {{ $patient->usual_bmi_max_category }}</small>
@@ -59,7 +59,7 @@
 					@endif
 				</div>
 			</td>
-			<td>
+			<td class="text-nowrap">
 				<?php $coverageStatus = $patient->getPrimaryCoverageStatus(); ?>
 				<div class="text-nowrap">
 					@if($coverageStatus === 'YES')
@@ -75,38 +75,38 @@
 					@endif
 				</div>
 			</td>
-			<td>{{$patient->lastMcpAppointment ? friendly_date_time($patient->lastMcpAppointment->raw_date.' '.$patient->lastMcpAppointment->raw_start_time) : '-'}}</td>
-			<td>{{$patient->nextMcpAppointment ? friendly_date_time($patient->nextMcpAppointment->raw_date.' '.$patient->nextMcpAppointment->raw_start_time) : '-'}}</td>
-			<td>{{$patient->nextMcpAppointment ? $patient->nextMcpAppointment->status : '-'}}</td>
+			<td class="text-nowrap">{{$patient->lastMcpAppointment ? friendly_date_time($patient->lastMcpAppointment->raw_date.' '.$patient->lastMcpAppointment->raw_start_time) : '-'}}</td>
+			<td class="text-nowrap">{{$patient->nextMcpAppointment ? friendly_date_time($patient->nextMcpAppointment->raw_date.' '.$patient->nextMcpAppointment->raw_start_time) : '-'}}</td>
+			<td class="text-nowrap">{{$patient->nextMcpAppointment ? $patient->nextMcpAppointment->status : '-'}}</td>
 
-            <td>
+            <td class="text-nowrap">
                 @if($patient->most_recent_cellular_bp_measurement_at)
                     {{ $patient->most_recent_cellular_bp_sbp_mm_hg }} / {{ $patient->most_recent_cellular_bp_dbp_mm_hg }}
                 @endif
             </td>
 
-            <td><?= $patient->most_recent_cellular_bp_value_irregular ? '<i class="fa fa-heartbeat"></i>' : '' ?></td>
+            <td class="text-nowrap"><?= $patient->most_recent_cellular_bp_value_irregular ? '<i class="fa fa-heartbeat"></i>' : '' ?></td>
 
-            <td>{{ $patient->most_recent_cellular_bp_value_pulse }}</td>
+            <td class="text-nowrap">{{ $patient->most_recent_cellular_bp_value_pulse }}</td>
 
-            <td>{{ friendlier_date_time($patient->most_recent_cellular_bp_measurement_at) }}</td>
+            <td class="text-nowrap">{{ friendlier_date_time($patient->most_recent_cellular_bp_measurement_at) }}</td>
 
-            <td>{{ $patient->most_recent_cellular_weight_value ? round($patient->most_recent_cellular_weight_value, 2) : '--' }}</td>
+            <td class="text-nowrap">{{ $patient->most_recent_cellular_weight_value ? round($patient->most_recent_cellular_weight_value, 2) : '--' }}</td>
 
-            <td>{{ friendlier_date_time($patient->most_recent_cellular_weight_measurement_at) }}</td>
+            <td class="text-nowrap">{{ friendlier_date_time($patient->most_recent_cellular_weight_measurement_at) }}</td>
 
-{{--			<td>{{$patient->is_enrolled_in_cm ? 'Yes' : 'No'}}</td>--}}
-{{--			<td>{{$patient->is_enrolled_in_rm ? 'Yes' : 'No'}}</td>--}}
-			<td class="d-none">
+{{--			<td class=text-nowrap">{{$patient->is_enrolled_in_cm ? 'Yes' : 'No'}}</td>--}}
+{{--			<td class=text-nowrap">{{$patient->is_enrolled_in_rm ? 'Yes' : 'No'}}</td>--}}
+			<td class="d-none text-nowrap">
 				<?php $m = $patient->lastMeasurementOfType('Wt. (lbs.)'); ?>
 				{{$m && $m->value ? round($m->value, 2) : '-'}}
 			</td>
-			<td class="d-none">
+			<td class="d-none text-nowrap">
 				<?php $m = $patient->lastMeasurementOfType('BP'); ?>
 				{{$m && $m->value ? $m->value : '-'}}
 			</td>
-			<td>{{$patient->getMcpAssignedOn()}}</td>
-            <td>{{$patient->mcp->display_name ?? '--'}}</td>
+			<td class="text-nowrap"">{{$patient->getMcpAssignedOn()}}</td>
+            <td class="text-nowrap"">{{$patient->mcp->display_name ?? '--'}}</td>
 		</tr>
 		@endforeach