Fixed transfering owner to IVT

This commit is contained in:
Frank Schubert
2022-05-04 12:24:59 +02:00
parent df67708b8d
commit 64009d12cc
2 changed files with 2 additions and 2 deletions

View File

@@ -374,7 +374,7 @@
<td></td></tr>
<?php endif; ?>
<?php endif; ?>
<tr>
<td>
<strong>Dokument hochladen</strong> <select class="form-control" name="file_type">

View File

@@ -11,7 +11,7 @@ class IvtCustomerController extends mfBaseController {
}
$contact = $order->billingaddress;
if(!$contact) {
if(!$contact->id) {
$contact = $order->owner;
} else {
$contact->customer_number = $order->owner->customer_number;