This commit is contained in:
Jean-Philippe Staelen 2026-01-25 15:44:22 +01:00
parent 16fda3c959
commit 33eb49452f

View File

@ -1006,7 +1006,7 @@ class PEPPOL_peppol_controller {
'total_amount_including_vat' => round($total_incl_vat, 2), 'total_amount_including_vat' => round($total_incl_vat, 2),
'total_paid_amount' => round($order->get_total(), 2), 'total_paid_amount' => round($order->get_total(), 2),
'total_payable_amount' => round($order->get_total(), 2), 'total_payable_amount' => round($order->get_total(), 2),
'amount_due' => 0, 'amount_due' => round($order->get_total() - $total_incl_vat, 2),
]; ];
$invoice_totals = \apply_filters('esi_peppol_invoice_totals', $invoice_totals, $order); $invoice_totals = \apply_filters('esi_peppol_invoice_totals', $invoice_totals, $order);