mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-24 14:16:07 +03:00
Merge branch 'v2.2' into v2.2
This commit is contained in:
commit
9ac3fe699b
@ -16,7 +16,7 @@ class ModelRetailcrmCustomer extends Model {
|
|||||||
$this->retailcrmApi = new RetailcrmProxy(
|
$this->retailcrmApi = new RetailcrmProxy(
|
||||||
$settings['retailcrm_url'],
|
$settings['retailcrm_url'],
|
||||||
$settings['retailcrm_apikey'],
|
$settings['retailcrm_apikey'],
|
||||||
$this->serLogs()
|
$this->setLogs()
|
||||||
);
|
);
|
||||||
|
|
||||||
$customersToCrm = array();
|
$customersToCrm = array();
|
||||||
|
@ -41,7 +41,7 @@ class ModelRetailcrmHistory extends Model
|
|||||||
$crm = new RetailcrmProxy(
|
$crm = new RetailcrmProxy(
|
||||||
$settings['retailcrm_url'],
|
$settings['retailcrm_url'],
|
||||||
$settings['retailcrm_apikey'],
|
$settings['retailcrm_apikey'],
|
||||||
$this->serLogs()
|
$this->setLogs()
|
||||||
);
|
);
|
||||||
|
|
||||||
$lastRun = !empty($history['retailcrm_history'])
|
$lastRun = !empty($history['retailcrm_history'])
|
||||||
|
@ -15,9 +15,9 @@ class ModelRetailcrmOrder extends Model {
|
|||||||
require_once DIR_SYSTEM . 'library/retailcrm/bootstrap.php';
|
require_once DIR_SYSTEM . 'library/retailcrm/bootstrap.php';
|
||||||
|
|
||||||
$this->retailcrmApi = new RetailcrmProxy(
|
$this->retailcrmApi = new RetailcrmProxy(
|
||||||
$this->settings['retailcrm_url'],
|
$settings['retailcrm_url'],
|
||||||
$this->settings['retailcrm_apikey'],
|
$settings['retailcrm_apikey'],
|
||||||
$this->serLogs()
|
$this->setLogs()
|
||||||
);
|
);
|
||||||
|
|
||||||
$ordersToCrm = array();
|
$ordersToCrm = array();
|
||||||
|
Loading…
Reference in New Issue
Block a user