1
0
Fork 0
mirror of synced 2025-04-20 01:21:01 +00:00

change method for add PAYED status

This commit is contained in:
Sergey Chazov 2020-08-28 10:52:29 +03:00
parent ecb845546d
commit 3650ecc24a

View file

@ -504,6 +504,7 @@ class RetailCrmHistory
}
if (isset($order['externalId'])) {
$itemUpdate = false;
if ($order['externalId'] && is_numeric($order['externalId'])) {
@ -1129,7 +1130,7 @@ class RetailCrmHistory
}
if (isset($order['fullPaidAt']) && is_string($order['fullPaidAt'])) {
$newOrder->setField('PAID', 'Y');
$newOrder->setFieldNoDemand('PAYED', 'Y');
}
if ($shipmentDeducted === 'Y') {