Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Another fix in reports.
James Coled3682a6727eb
diff --git a/app/Helpers/Report/ReportHelper.php b/app/Helpers/Report/ReportHelper.phpindex ae9bd4ca1a..f0d660d173 100644--- a/app/Helpers/Report/ReportHelper.php+++ b/app/Helpers/Report/ReportHelper.php@@ -154,6 +154,7 @@ class ReportHelper implements ReportHelperInterface// then a new line for without budget.// and one for the tags:+ // and one for "left unbalanced".$empty = new BalanceLine;$tags = new BalanceLine;$diffLine = new BalanceLine;@@ -162,7 +163,7 @@ class ReportHelper implements ReportHelperInterface$diffLine->setRole(BalanceLine::ROLE_DIFFROLE);foreach ($accounts as $account) {- $spent = $this->query->spentNoBudget($account, $start, $end);+ $spent = $this->query->spentNoBudget($account, $start, $end) * -1;$left = $tagRepository->coveredByBalancingActs($account, $start, $end);bcscale(2);$diff = bcsub($spent, $left);