Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix chart. Related to #99
James Colea30793e81844
diff --git a/app/Http/Controllers/Chart/BudgetController.php b/app/Http/Controllers/Chart/BudgetController.phpindex 039d04308d..a97883e5c9 100644--- a/app/Http/Controllers/Chart/BudgetController.php+++ b/app/Http/Controllers/Chart/BudgetController.php@@ -225,7 +225,7 @@ class BudgetController extends Controller// each budget, fill the row:foreach ($budgets as $budget) {$spent = $repository->spentInPeriodCorrected($budget, $start, $month, $shared);- $row[] = $spent;+ $row[] = $spent*-1;}$entries->push($row);$start->endOfMonth()->addDay();