mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 02:26:58 +00:00
Fixed amount in bill chart.
This commit is contained in:
@@ -91,7 +91,7 @@ class ChartJsBillChartGenerator implements BillChartGenerator
|
|||||||
$data['labels'][] = $entry->date->formatLocalized($format);
|
$data['labels'][] = $entry->date->formatLocalized($format);
|
||||||
$minAmount[] = round($bill->amount_min, 2);
|
$minAmount[] = round($bill->amount_min, 2);
|
||||||
$maxAmount[] = round($bill->amount_max, 2);
|
$maxAmount[] = round($bill->amount_max, 2);
|
||||||
$actualAmount[] = round($entry->amount, 2);
|
$actualAmount[] = round(($entry->amount * -1), 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
$data['datasets'][] = [
|
$data['datasets'][] = [
|
||||||
|
Reference in New Issue
Block a user