mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fixed amount in bill chart.
This commit is contained in:
parent
3750a00b5f
commit
b81b34a706
@ -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'][] = [
|
||||||
|
Loading…
Reference in New Issue
Block a user