This commit is contained in:
James Cole
2016-03-03 13:20:06 +01:00
parent f38d99653f
commit d2c8475504

View File

@@ -75,8 +75,7 @@ class ChartJsBillChartGenerator implements BillChartGeneratorInterface
/*
* journalAmount has been collected in BillRepository::getJournals
*/
$journalAmount = TransactionJournal::amountPositive($entry) ?? '0';
$actualAmount[] = round($journalAmount, 2);
$actualAmount[] = round(TransactionJournal::amountPositive($entry), 2);
}
$data['datasets'][] = [