mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
To make budget report more clear, add spent amount to "spent" column.
This commit is contained in:
parent
1966d87ce6
commit
37e2f097ba
@ -303,6 +303,7 @@ class ReportHelper implements ReportHelperInterface
|
||||
$noBudget = $repository->getWithoutBudgetSum($start, $end);
|
||||
$budgetLine = new BudgetLine;
|
||||
$budgetLine->setOverspent($noBudget);
|
||||
$budgetLine->setSpent($noBudget);
|
||||
$object->addOverspent($noBudget);
|
||||
$object->addBudgetLine($budgetLine);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user