Samson Mutunga 3 anos atrás
pai
commit
caca0613f0
1 arquivos alterados com 2 adições e 5 exclusões
  1. 2 5
      resources/views/layouts/patient-header.blade.php

+ 2 - 5
resources/views/layouts/patient-header.blade.php

@@ -77,16 +77,13 @@ $addressParts .= implode(", ", $addressPart2);
       <div class="d-flex border-left pl-2 ml-2">
         <div class="mr-1">Cell. BP: <b>{{$patient->hasBPDevice()?'Yes':'No'}}</b>
           @if($patient->most_recent_cellular_bp_sbp_mm_hg && $patient->most_recent_cellular_bp_dbp_mm_hg)
-          (<b>{{$patient->most_recent_cellular_bp_sbp_mm_hg ?: '-'}}/{{$patient->most_recent_cellular_bp_dbp_mm_hg ?: '-'}}</b> 
-          @if($patient->most_recent_cellular_bp_measurement_at), {{friendly_date($patient->most_recent_cellular_bp_measurement_at)}} @endif)
+          (<b>{{$patient->most_recent_cellular_bp_sbp_mm_hg ?: '-'}}/{{$patient->most_recent_cellular_bp_dbp_mm_hg ?: '-'}}</b>@if($patient->most_recent_cellular_bp_measurement_at), {{friendly_date($patient->most_recent_cellular_bp_measurement_at)}} @endif)
           @endif
         </div>
         <div class="mr-2">Wt. Scale: <b>{{$patient->hasWeightScaleDevice()?'Yes':'No'}}</b>
           @if($patient->most_recent_cellular_weight_value)
           (
-            <b>{{round($patient->most_recent_cellular_weight_value, 1)}}</b>
-            @if($patient->most_recent_cellular_weight_measurement_at)
-            , {{friendly_date($patient->most_recent_cellular_weight_measurement_at)}}
+            <b>{{round($patient->most_recent_cellular_weight_value, 1)}}</b>@if($patient->most_recent_cellular_weight_measurement_at), {{friendly_date($patient->most_recent_cellular_weight_measurement_at)}}
             @endif
           )
           @endif