From f9fa77c92462131a2ba801aedcff526f4e3f3745 Mon Sep 17 00:00:00 2001 From: Henning <leutz@pcsg.de> Date: Mon, 30 Dec 2024 20:21:18 +0100 Subject: [PATCH] fix: e-invoice -> consider company name --- src/QUI/ERP/Accounting/Invoice/Utils/Invoice.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/QUI/ERP/Accounting/Invoice/Utils/Invoice.php b/src/QUI/ERP/Accounting/Invoice/Utils/Invoice.php index b5f5efc..09b004b 100644 --- a/src/QUI/ERP/Accounting/Invoice/Utils/Invoice.php +++ b/src/QUI/ERP/Accounting/Invoice/Utils/Invoice.php @@ -780,10 +780,7 @@ public static function getElectronicInvoice( $Customer = $Invoice->getCustomer(); $document - ->setDocumentBuyer( - $Customer->getName(), - $Customer->getCustomerNo() - ) + ->setDocumentBuyer($Customer->getInvoiceName(), $Customer->getCustomerNo()) ->setDocumentBuyerAddress( $Customer->getAddress()->getAttribute('street_no'), "", -- GitLab