mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-25 14:58:40 +00:00
Forgot to do * -1. [skip ci]
This commit is contained in:
@@ -211,7 +211,7 @@ class BudgetController extends Controller
|
|||||||
// for no budget:
|
// for no budget:
|
||||||
$row = $this->spentInPeriodWithout($start, $end);
|
$row = $this->spentInPeriodWithout($start, $end);
|
||||||
if (bccomp($row['spent'], '0') !== 0) {
|
if (bccomp($row['spent'], '0') !== 0) {
|
||||||
$chartData[0]['entries'][$row['name']] = $row['spent'];
|
$chartData[0]['entries'][$row['name']] = bcmul($row['spent'], '-1');
|
||||||
$chartData[1]['entries'][$row['name']] = $row['repetition_left'];
|
$chartData[1]['entries'][$row['name']] = $row['repetition_left'];
|
||||||
$chartData[2]['entries'][$row['name']] = $row['repetition_overspent'];
|
$chartData[2]['entries'][$row['name']] = $row['repetition_overspent'];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user