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