Przeglądaj źródła

MCP patient list perf update

Vijayakrishnan Krishnan 1 tydzień temu
rodzic
commit
a13b0d9d49
1 zmienionych plików z 2 dodań i 8 usunięć
  1. 2 8
      resources/views/app/mcp/patients-table.blade.php

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

@@ -57,8 +57,8 @@
 				<td>{{$patient->next_mcp_appointment_status ? $patient->next_mcp_appointment_status : '-'}}</td>
 
 				<td>
-					@if($patient->most_recent_cellular_bp_measurement_at)
-					{{ $patient->most_recent_cellular_bp_sbp_mm_hg }} / {{ $patient->most_recent_cellular_bp_dbp_mm_hg }}
+					@if($patient->most_recent_cellular_bp_sbp_mm_hg && $patient->most_recent_cellular_bp_dbp_mm_hg)
+						{{$patient->most_recent_cellular_bp_sbp_mm_hg . '/' . $patient->most_recent_cellular_bp_dbp_mm_hg}}
 					@endif
 				</td>
 
@@ -72,12 +72,6 @@
 
 				<td>{{ friendlier_date_time($patient->most_recent_cellular_weight_measurement_at, false) }}</td>
 
-				<td class="d-none text-nowrap">
-					{{$patient->last_measurement_of_type_weight ? round($patient->last_measurement_of_type_weight, 2) : '-'}}
-				</td>
-				<td class="d-none text-nowrap">
-					{{$patient->last_measurement_of_type_bp ? $patient->last_measurement_of_type_bp : '-'}}
-				</td>
 				<td>{{friendly_date($patient->mcp_assigned_on)}}</td>
 				@if($pro->pro_type == 'ADMIN')
 				<td>{{$patient->mcp_pro_display_name ?? '--'}}</td>