Status in orders upload

This commit is contained in:
Akolzin Dmitry 2017-11-10 17:16:26 +03:00
parent dd3c32ea4c
commit f9d2043854

View file

@ -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;
}