mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-04-04 13:53:37 +03:00
Status in orders upload
This commit is contained in:
parent
dd3c32ea4c
commit
f9d2043854
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@ class ModelRetailcrmOrder extends Model {
|
|||
);
|
||||
}
|
||||
|
||||
if (isset($order_data['order_status_id']) && $order_data['order_status_id'] > 0) {
|
||||
$order['status'] = $this->settings['retailcrm_status'][$order_data['order_status_id']];
|
||||
}
|
||||
|
||||
return $order;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue