From c6706030e78fedfe2fc7da84d16a44aaf788df77 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Thu, 7 Oct 2021 22:50:19 +0200 Subject: [PATCH] fixed ivt field --- application/IvtCustomer/IvtCustomerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/IvtCustomer/IvtCustomerController.php b/application/IvtCustomer/IvtCustomerController.php index 0870d3c4f..c70908c35 100644 --- a/application/IvtCustomer/IvtCustomerController.php +++ b/application/IvtCustomer/IvtCustomerController.php @@ -85,7 +85,7 @@ class IvtCustomerController extends mfBaseController { $ivtc->paper_invoice = 1; } - $ivtc->MandatID = ($contact->spin) ? $contract->spin : 1; + $ivtc->MandatID = ($contact->spin) ? $contact->spin : 1; $ivtc->egn = 0; // 0=keine;1=pdf;2=cdr $ivtc->accept_adver = ($order->allow_contact) ? 2 : 1;