mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-28 11:43:53 -06:00
Closed #202
This commit is contained in:
parent
89ab0a7e97
commit
cdce43d226
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user