mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fixed a bug where budget chart would come up negative on overspent amounts.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user