Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Closed #202
James Colecdce43d22644
diff --git a/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php b/app/Generator/Chart/Bill/ChartJsBillChartGenerator.phpindex f756dadcce..adec42954d 100644--- a/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php+++ b/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php@@ -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);}