mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Multiply by -1.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user