From c9f5733d4825dc2c9af636cc3840cf52ab486c84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20M=C3=BCller?= <p.mueller@pcsg.de> Date: Wed, 19 May 2021 10:53:24 +0200 Subject: [PATCH] fix: pass contact_person attribute when copying invoices --- src/QUI/ERP/Accounting/Invoice/Invoice.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/QUI/ERP/Accounting/Invoice/Invoice.php b/src/QUI/ERP/Accounting/Invoice/Invoice.php index 05940f4..b3363d9 100644 --- a/src/QUI/ERP/Accounting/Invoice/Invoice.php +++ b/src/QUI/ERP/Accounting/Invoice/Invoice.php @@ -754,6 +754,7 @@ public function copy($PermissionUser = null, $globalProcessId = false): InvoiceT 'global_process_id' => $globalProcessId, 'type' => Handler::TYPE_INVOICE_TEMPORARY, 'customer_id' => $currentData['customer_id'], + 'contact_person' => $currentData['contact_person'], 'invoice_address_id' => $invoiceAddressId, 'invoice_address' => $invoiceAddress, 'delivery_address' => $currentData['delivery_address'], -- GitLab