change method for add PAYED status
This commit is contained in:
parent
ecb845546d
commit
3650ecc24a
1 changed files with 2 additions and 1 deletions
|
@ -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') {
|
||||
|
|
Loading…
Add table
Reference in a new issue