Status in orders upload (#62)

This commit is contained in:
Akolzin Dmitry 2017-11-10 17:23:12 +03:00 committed by GitHub
parent dd3c32ea4c
commit 6eecca5f93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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