mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix chart. Related to #99
This commit is contained in:
parent
e39e1eaf21
commit
a30793e818
@ -225,7 +225,7 @@ class BudgetController extends Controller
|
|||||||
// each budget, fill the row:
|
// each budget, fill the row:
|
||||||
foreach ($budgets as $budget) {
|
foreach ($budgets as $budget) {
|
||||||
$spent = $repository->spentInPeriodCorrected($budget, $start, $month, $shared);
|
$spent = $repository->spentInPeriodCorrected($budget, $start, $month, $shared);
|
||||||
$row[] = $spent;
|
$row[] = $spent*-1;
|
||||||
}
|
}
|
||||||
$entries->push($row);
|
$entries->push($row);
|
||||||
$start->endOfMonth()->addDay();
|
$start->endOfMonth()->addDay();
|
||||||
|
Loading…
Reference in New Issue
Block a user