fixed ivt field

This commit is contained in:
Frank Schubert
2021-10-07 22:50:19 +02:00
parent 95c68a02be
commit c6706030e7

View File

@@ -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;