mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Multiply by -1.
This commit is contained in:
parent
f74c6c2d19
commit
d7cbc53b4b
@ -334,7 +334,7 @@ class BudgetController extends Controller
|
||||
foreach (array_keys($periods) as $period) {
|
||||
$label = $periods[$period];
|
||||
$spent = isset($entries['entries'][$period]) ? $entries['entries'][$period] : '0';
|
||||
$chartData[$label] = $spent;
|
||||
$chartData[$label] = bcmul($spent, '-1');
|
||||
}
|
||||
/** @var GeneratorInterface $generator */
|
||||
$generator = app(GeneratorInterface::class);
|
||||
|
Loading…
Reference in New Issue
Block a user