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