mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 20:22:07 +00:00
Closed #202
This commit is contained in:
@@ -75,7 +75,7 @@ class ChartJsBillChartGenerator implements BillChartGeneratorInterface
|
|||||||
/*
|
/*
|
||||||
* journalAmount has been collected in BillRepository::getJournals
|
* journalAmount has been collected in BillRepository::getJournals
|
||||||
*/
|
*/
|
||||||
$journalAmount = $entry->journalAmount ?? '0';
|
$journalAmount = TransactionJournal::amountPositive($entry) ?? '0';
|
||||||
$actualAmount[] = round(bcmul($journalAmount, '-1'), 2);
|
$actualAmount[] = round(bcmul($journalAmount, '-1'), 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user