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