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