mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fixed a bug where budget chart would come up negative on overspent amounts.
This commit is contained in:
parent
2c966a1234
commit
45344ee347
@ -84,7 +84,7 @@ class ChartJsBudgetChartGenerator implements BudgetChartGenerator
|
||||
$data['labels'][] = $entry[0];
|
||||
$left[] = round($entry[1], 2);
|
||||
$spent[] = round($entry[2], 2);
|
||||
$overspent[] = round(($entry[3] * -1), 2);
|
||||
$overspent[] = round($entry[3], 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user