mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 05:06:37 +00:00
Fix for left unbalanced field in report.
This commit is contained in:
@@ -332,7 +332,7 @@ class ReportHelper implements ReportHelperInterface
|
|||||||
$spent = $this->query->spentNoBudget($account, $start, $end);
|
$spent = $this->query->spentNoBudget($account, $start, $end);
|
||||||
$left = $tagRepository->coveredByBalancingActs($account, $start, $end);
|
$left = $tagRepository->coveredByBalancingActs($account, $start, $end);
|
||||||
bcscale(2);
|
bcscale(2);
|
||||||
$diff = bcsub($spent, $left);
|
$diff = bcadd($spent, $left);
|
||||||
|
|
||||||
// budget
|
// budget
|
||||||
$budgetEntry = new BalanceEntry;
|
$budgetEntry = new BalanceEntry;
|
||||||
|
|||||||
Reference in New Issue
Block a user