fixed #168
This commit is contained in:
parent
797a4d41de
commit
12ae53cfea
@ -1178,9 +1178,6 @@ class RetailCrmHistory
|
||||
continue;
|
||||
}
|
||||
|
||||
$paymentExternalId = $orderPayment->getId();
|
||||
|
||||
if ($paymentExternalId) {
|
||||
$newHistoryPayments[$orderPayment->getField('XML_ID')]['externalId'] = $paymentExternalId;
|
||||
RCrmActions::apiMethod(
|
||||
$api,
|
||||
@ -1195,7 +1192,6 @@ class RetailCrmHistory
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!$order['externalId']) {
|
||||
$order["externalId"] = $newOrder->getId();
|
||||
|
Loading…
Reference in New Issue
Block a user