1
0
mirror of synced 2024-11-22 05:16:09 +03:00
This commit is contained in:
gorokh 2021-01-13 17:51:36 +03:00
parent 797a4d41de
commit 12ae53cfea

View File

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