4
0

2 Коммитууд 61e5d5ed38 ... a13b0d9d49

Эзэн SHA1 Мессеж Огноо
  Vijayakrishnan Krishnan a13b0d9d49 MCP patient list perf update 1 долоо хоног өмнө
  Vijayakrishnan Krishnan 3c2d04cc7d Patient header moe right fix 1 долоо хоног өмнө

+ 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>

+ 2 - 2
resources/views/app/patient/partials/quick-actions-buttons.blade.php

@@ -2,7 +2,7 @@
 	<div>
 		<div moe relative>
 			<a href="#" start show class="ml-3 d-flex align-items-baseline"><i class="fa fa-comment mr-1"></i></a>
-			<form right url="/api/clientSms/createOutgoing" class="mcp-theme-1" noreload>
+			<form url="/api/clientSms/createOutgoing" class="mcp-theme-1" noreload>
 				<input type="hidden" name="uid" value="{{ $patient->uid }}">
 				<div class="mb-2">
 					<label for="" class="text-sm text-secondary mb-1">Cell
@@ -25,7 +25,7 @@
 	<div>
 		<span moe relative class="">
 			<a href="#" start show class="ml-2 d-flex align-items-baseline" title="SMS check-in link to the patient"><i class="fa fa-paper-plane mr-1"></i></a>
-			<form right url="/api/client/sendCheckInTokenViaSmsOrEmail" class="mcp-theme-1">
+			<form url="/api/client/sendCheckInTokenViaSmsOrEmail" class="mcp-theme-1">
 				<input type="hidden" name="uid" value="{{ $patient->uid }}">
 				<p class="small min-width-200px mb-2">Send Check-In link to patient?</p>
 				<div class="mb-2">