From 33eb49452f4de038f721678dbeb821a9c989107d Mon Sep 17 00:00:00 2001 From: jps Date: Sun, 25 Jan 2026 15:44:22 +0100 Subject: [PATCH] test --- app/controllers/Peppol_controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/Peppol_controller.php b/app/controllers/Peppol_controller.php index d71ed22..f5767d8 100644 --- a/app/controllers/Peppol_controller.php +++ b/app/controllers/Peppol_controller.php @@ -1006,7 +1006,7 @@ class PEPPOL_peppol_controller { 'total_amount_including_vat' => round($total_incl_vat, 2), 'total_paid_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);