mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for dashboard chart off by one
This commit is contained in:
parent
96b7134e66
commit
b7cd7c9bff
@ -74,7 +74,7 @@ class DashboardRepository
|
|||||||
$records[] = isset($data[$date]) ? $data[$date] : 0;
|
$records[] = isset($data[$date]) ? $data[$date] : 0;
|
||||||
|
|
||||||
if ($entityType == ENTITY_INVOICE) {
|
if ($entityType == ENTITY_INVOICE) {
|
||||||
$labels[] = $d->format('r');
|
$labels[] = $d->format('m/d/Y');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user