Explorar el Código

fixed bug on vitals

Josh hace 4 años
padre
commit
0a72a3c83c
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      resources/views/app/patient/dashboard.blade.php

+ 4 - 1
resources/views/app/patient/dashboard.blade.php

@@ -33,7 +33,10 @@
         $vitalValues = [];
 
         foreach($vitalLabels as $l){
-            $vitalValues[$l] = [];
+            $vitalValues[$l] = [
+                'value' => null, 
+                'effectiveDate' => null
+            ];
         }
 
         foreach($patient->measurements as $measurement) {