From 91ee6844f555a43750492bd5828ff123aa10ed73 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Mon, 3 Sep 2018 16:22:56 +0300 Subject: [PATCH] Update version --- retailcrm/retailcrm.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/retailcrm/retailcrm.php b/retailcrm/retailcrm.php index 1fe1387..71b6255 100644 --- a/retailcrm/retailcrm.php +++ b/retailcrm/retailcrm.php @@ -38,7 +38,7 @@ class RetailCRM extends Module { $this->name = 'retailcrm'; $this->tab = 'export'; - $this->version = '2.2.1'; + $this->version = '2.2.2'; $this->author = 'Retail Driver LCC'; $this->displayName = $this->l('RetailCRM'); $this->description = $this->l('Integration module for RetailCRM'); @@ -117,7 +117,7 @@ class RetailCRM extends Module ); $output .= $this->validateForm($settings, $output); - + if ($output === '') { Configuration::updateValue('RETAILCRM_ADDRESS', $address); Configuration::updateValue('RETAILCRM_API_TOKEN', $token); @@ -147,7 +147,7 @@ class RetailCRM extends Module $output .= $this->displayConfirmation( $this->l('Timezone settings must be identical to both of your crm and shop') . - " $address/admin/settings#t-main" + "$address/admin/settings#t-main" ); $this->display(__FILE__, 'retailcrm.tpl'); @@ -438,7 +438,7 @@ class RetailCRM extends Module if ($comment !== false) { $order['customerComment'] = $comment; } - + unset($comment); foreach ($orderdb->getProducts() as $item) { @@ -629,7 +629,7 @@ class RetailCRM extends Module } $order['customer']['externalId'] = $customer['externalId']; - + $this->api->ordersCreate($order); return $order;