Merge branch 'develop' of https://github.com/JC5/firefly-iii into develop

* 'develop' of https://github.com/JC5/firefly-iii:
  Fix for left unbalanced field in report.
This commit is contained in:
James Cole 2015-12-14 20:22:47 +01:00
commit 6eecc7722d

View File

@ -332,7 +332,7 @@ class ReportHelper implements ReportHelperInterface
$spent = $this->query->spentNoBudget($account, $start, $end);
$left = $tagRepository->coveredByBalancingActs($account, $start, $end);
bcscale(2);
$diff = bcsub($spent, $left);
$diff = bcadd($spent, $left);
// budget
$budgetEntry = new BalanceEntry;