mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-02-02 07:51:43 +03:00
Merge pull request #44 from iyzoer/master
Fix param method in customFieldsEdit
This commit is contained in:
commit
14049caf67
@ -57,6 +57,7 @@ class ModelExtensionRetailcrmOrder extends Model {
|
||||
private function process($order_data) {
|
||||
$order = array();
|
||||
|
||||
$this->load->model('catalog/product');
|
||||
$this->moduleTitle = $this->getModuleTitle();
|
||||
$payment_code = $order_data['payment_code'];
|
||||
$delivery_code = $order_data['shipping_code'];
|
||||
|
@ -236,7 +236,7 @@ class RetailcrmApiClient5
|
||||
|
||||
return $this->client->makeRequest(
|
||||
"/custom-fields/$entity/edit/{$customField['code']}",
|
||||
$this->client::METHOD_POST,
|
||||
RetailcrmHttpClient::METHOD_POST,
|
||||
array('customField' => json_encode($customField))
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user