Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Clarify chart details [skip ci]
James Colefc0ad622ebe4
diff --git a/app/Http/Controllers/Chart/BudgetController.php b/app/Http/Controllers/Chart/BudgetController.phpindex e212ee6d89..9284ff2bf4 100644--- a/app/Http/Controllers/Chart/BudgetController.php+++ b/app/Http/Controllers/Chart/BudgetController.php@@ -204,7 +204,7 @@ class BudgetController extends Controller}// for no budget:$row = $this->spentInPeriodWithout($start, $end);- if (bccomp($row['spent'], '0') !== 0 || bccomp($row['repetition_left'], '0') !== 0) {+ if (bccomp($row['repetition_overspent'], '0') !== 0) {$chartData[0]['entries'][$row['name']] = bcmul($row['spent'], '-1');$chartData[1]['entries'][$row['name']] = $row['repetition_left'];$chartData[2]['entries'][$row['name']] = bcmul($row['repetition_overspent'], '-1');