mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-13 00:42:06 -05:00
Fixed a negative chart.
This commit is contained in:
1 parent
fcc3af6136
commit
e12d13c838
1 file changed
+1
-1
@@ -68,7 +68,7 @@ class BudgetController extends Controller
|
||||
$end->subDay();
|
||||
$chartDate = clone $end;
|
||||
$chartDate->startOfMonth();
|
||||
$spent = $repository->balanceInPeriod($budget, $first, $end);
|
||||
$spent = $repository->balanceInPeriod($budget, $first, $end) * -1;
|
||||
$entries->push([$chartDate, $spent]);
|
||||
$first = Navigation::addPeriod($first, $range, 0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user