diff --git a/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php b/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php index a193cbd0cf..b04d4f8db6 100644 --- a/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php +++ b/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php @@ -33,7 +33,7 @@ class ChartJsBillChartGenerator implements BillChartGenerator /** @var TransactionJournal $entry */ foreach ($paid as $entry) { // loop paid and create single entry: $paidDescriptions[] = $entry->description; - $paidAmount = bcadd($paidAmount, $entry->amount); + $paidAmount = bcadd($paidAmount, $entry->amount_positive); } /** @var Bill $entry */ foreach ($unpaid as $entry) { // loop unpaid: