Parcourir la source

Fixed vitals copied over issue

Samson Mutunga il y a 1 an
Parent
commit
7bad4bc494

+ 1 - 1
resources/views/app/patient/segment-templates/omega_vitals/edit.blade.php

@@ -73,7 +73,7 @@ foreach ($previousVitals as $p) {
         }
         $newFormat['date'] = $p->note->effective_dateest; // unfriendly_date($p->created_at);
         $previousData[] = $newFormat;
-        if(!$previousDataAssoc[$newFormat['date']]){
+        if(!isset($previousDataAssoc[$newFormat['date']])){
            $previousDataAssoc[$newFormat['date']] = $newFormat; // for easy iter to cols 
         }        
     }