This commit is contained in:
James Cole 2016-03-03 13:19:06 +01:00
parent 89ab0a7e97
commit cdce43d226

View File

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