Fixed transfering owner to IVT
This commit is contained in:
@@ -374,7 +374,7 @@
|
||||
<td></td></tr>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Dokument hochladen</strong> <select class="form-control" name="file_type">
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user