Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
#202 make positive.
James Colef38d99653f32
diff --git a/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php b/app/Generator/Chart/Bill/ChartJsBillChartGenerator.phpindex adec42954d..fea218500d 100644--- a/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php+++ b/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php@@ -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'][] = [