Explorar o código

updated weight label

= %!s(int64=4) %!d(string=hai) anos
pai
achega
c954500083
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      resources/views/app/patient/vitals-graph.blade.php

+ 1 - 1
resources/views/app/patient/vitals-graph.blade.php

@@ -91,7 +91,7 @@
 
         // weight
         $weight = array_filter($allMeasurements, function($_measurement) use ($date) {
-            return $_measurement['label'] === 'Wt. (lbs.)' && $_measurement['effective_date'] === $date;
+            return $_measurement['label'] === 'Wt. (lbs.)' && $_measurement['effective_date'] === $date && !!$_measurement['numeric_value']; 
         });
         if(count($weight)) {
             $weight = array_values($weight);