Explorar o código

fixed bug on vitals

Josh %!s(int64=4) %!d(string=hai) anos
pai
achega
0a72a3c83c
Modificáronse 1 ficheiros con 4 adicións e 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) {