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