소스 검색

updated weight label

= 4 년 전
부모
커밋
c954500083
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);