From cec1dafd36650811e22b7fee5983e978778568d9 Mon Sep 17 00:00:00 2001 From: Sergey Chazov Date: Tue, 23 Mar 2021 12:29:02 +0300 Subject: [PATCH 1/6] replace CustomerBuilder --- .../classes/general/history/RetailCrmHistory_v5.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php index 0b27656c..cbf3da30 100644 --- a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php +++ b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php @@ -63,9 +63,10 @@ class RetailCrmHistory $GLOBALS['RETAIL_CRM_HISTORY'] = true; $newUser = new CUser(); - $customerBuilder = new CustomerBuilder(); foreach ($customers as $customer) { + $customerBuilder = new CustomerBuilder(); + if (function_exists('retailCrmBeforeCustomerSave')) { $newResCustomer = retailCrmBeforeCustomerSave($customer); if (is_array($newResCustomer) && !empty($newResCustomer)) { From 2689836c6597143373ed6779fedeb8cd16ec0102 Mon Sep 17 00:00:00 2001 From: Sergey Chazov Date: Tue, 23 Mar 2021 14:36:48 +0300 Subject: [PATCH 2/6] add reset in customer bulder and bump version --- CHANGELOG.md | 3 + .../classes/general/AddressBuilder.php | 5 ++ .../classes/general/CustomerBuilder.php | 49 +++++++++------- .../classes/general/Model/CustomerAddress.php | 56 +++++++++---------- .../general/history/RetailCrmHistory_v5.php | 5 +- intaro.retailcrm/description.ru | 4 +- intaro.retailcrm/install/version.php | 10 ++-- 7 files changed, 75 insertions(+), 57 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 022e3c31..cdd9e440 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2021-03-23 v.5.6.3 +* Исправлена передача полей от одного пользователя к другому в момент загрузки истории из CRM + ## 2021-01-14 v.5.6.2 * Исправлено формирование картинок в ICML при включеном CDN * Убрана некорректная запись внешнего идентификатора платежа для новых платежей по истории diff --git a/intaro.retailcrm/classes/general/AddressBuilder.php b/intaro.retailcrm/classes/general/AddressBuilder.php index ebc1b269..8db7ddf0 100644 --- a/intaro.retailcrm/classes/general/AddressBuilder.php +++ b/intaro.retailcrm/classes/general/AddressBuilder.php @@ -67,4 +67,9 @@ class AddressBuilder extends AbstractBuilder implements RetailcrmBuilderInterfac return $this; } + + public function reset(): void + { + $this->customerAddress = new CustomerAddress(); + } } diff --git a/intaro.retailcrm/classes/general/CustomerBuilder.php b/intaro.retailcrm/classes/general/CustomerBuilder.php index 1f3b5031..12d57947 100644 --- a/intaro.retailcrm/classes/general/CustomerBuilder.php +++ b/intaro.retailcrm/classes/general/CustomerBuilder.php @@ -35,21 +35,22 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa $this->customerAddress = new CustomerAddress(); $this->addressBuilder = new AddressBuilder(); } - + /** * @param Customer $customer * @return $this */ - public function setCustomer($customer) + public function setCustomer(Customer $customer): CustomerBuilder { $this->customer = $customer; + return $this; } /** * @return Customer */ - public function getCustomer() + public function getCustomer(): Customer { return $this->customer; } @@ -58,7 +59,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa * @param CustomerAddress $customerAddress * @return $this */ - public function setCustomerAddress($customerAddress) + public function setCustomerAddress($customerAddress): CustomerBuilder { $this->customerAddress = $customerAddress; return $this; @@ -67,7 +68,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa /** * @return CustomerAddress */ - public function getCustomerAddress() + public function getCustomerAddress(): CustomerAddress { return $this->customerAddress; } @@ -76,9 +77,10 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa * @param array $dataCrm * @return $this */ - public function setDataCrm($dataCrm) + public function setDataCrm($dataCrm): CustomerBuilder { $this->dataCrm = $dataCrm; + return $this; } @@ -86,26 +88,28 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa * @param array $user * @return $this */ - public function setUser($user) + public function setUser($user): CustomerBuilder { $this->user = $user; + return $this; } - + /** * @param int $registeredUserID * @return $this */ - public function setRegisteredUserID($registeredUserID) + public function setRegisteredUserID(int $registeredUserID): CustomerBuilder { $this->registeredUserID = $registeredUserID; + return $this; } /** * @return int */ - public function getRegisteredUserID() + public function getRegisteredUserID(): int { return $this->registeredUserID; } @@ -113,7 +117,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa /** * @return bool */ - public function getRegisterNewUser() + public function getRegisterNewUser(): bool { return $this->registerNewUser; } @@ -134,8 +138,8 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa if (isset($this->dataCrm['phones'])) { foreach ($this->dataCrm['phones'] as $phone) { - if (isset($phone['old_number']) && in_array($phone['old_number'], $this->user)) { - $key = array_search($phone['old_number'], $this->user); + if (isset($phone['old_number']) && in_array($phone['old_number'], $this->user, true)) { + $key = array_search($phone['old_number'], $this->user, true); if (isset($phone['number'])) { $this->user[$key] = $phone['number']; @@ -145,14 +149,14 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa } if (isset($phone['number'])) { - if ((!isset($this->user['PERSONAL_PHONE']) || strlen($this->user['PERSONAL_PHONE']) == 0) + if ((!isset($this->user['PERSONAL_PHONE']) || '' == $this->user['PERSONAL_PHONE']) && $this->user['PERSONAL_MOBILE'] != $phone['number'] ) { $this->customer->setPersonalPhone($phone['number']); $this->user['PERSONAL_PHONE'] = $phone['number']; continue; } - if ((!isset($this->user['PERSONAL_MOBILE']) || strlen($this->user['PERSONAL_MOBILE']) == 0) + if ((!isset($this->user['PERSONAL_MOBILE']) || '' == $this->user['PERSONAL_MOBILE']) && $this->user['PERSONAL_PHONE'] != $phone['number'] ) { $this->customer->setPersonalMobile($phone['number']); @@ -213,26 +217,33 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa $this->customerAddress = null; } } - + /** * @param string $login * @return $this */ - public function setLogin($login) + public function setLogin(string $login): CustomerBuilder { $this->customer->setLogin($login); return $this; } - + /** * @param string $email * @return $this */ - public function setEmail($email) + public function setEmail(string $email): CustomerBuilder { $this->customer->setEmail($email); return $this; } + + public function reset(): void + { + $this->customer = new Customer(); + $this->customerAddress = new CustomerAddress(); + $this->addressBuilder->reset(); + } } diff --git a/intaro.retailcrm/classes/general/Model/CustomerAddress.php b/intaro.retailcrm/classes/general/Model/CustomerAddress.php index c229091d..5fa3326f 100644 --- a/intaro.retailcrm/classes/general/Model/CustomerAddress.php +++ b/intaro.retailcrm/classes/general/Model/CustomerAddress.php @@ -45,155 +45,155 @@ class CustomerAddress extends BaseModel /**@var string $text */ protected $text; - + /** * @param string $index * @return $this */ - public function setIndex($index) + public function setIndex(string $index): CustomerAddress { $this->index = $index; return $this; } - + /** * @param string $country * @return $this */ - public function setCountry($country) + public function setCountry(string $country): CustomerAddress { $this->country = $country; return $this; } - + /** * @param string $region * @return $this */ - public function setRegion($region) + public function setRegion(string $region): CustomerAddress { $this->region = $region; return $this; } - + /** * @param string $city * @return $this */ - public function setCity($city) + public function setCity(string $city): CustomerAddress { $this->city = $city; return $this; } - + /** * @param string $street * @return $this */ - public function setStreet($street) + public function setStreet(string $street): CustomerAddress { $this->street = $street; return $this; } - + /** * @param string $building * @return $this */ - public function setBuilding($building) + public function setBuilding(string $building): CustomerAddress { $this->building = $building; return $this; } - + /** * @param string $house * @return $this */ - public function setHouse($house) + public function setHouse(string $house): CustomerAddress { $this->house = $house; return $this; } - + /** * @param string $block * @return $this */ - public function setBlock($block) + public function setBlock(string $block): CustomerAddress { $this->block = $block; return $this; } - + /** * @param string $flat * @return $this */ - public function setFlat($flat) + public function setFlat(string $flat): CustomerAddress { $this->flat = $flat; return $this; } - + /** * @param string $floor * @return $this */ - public function setFloor($floor) + public function setFloor(string $floor): CustomerAddress { $this->floor = $floor; return $this; } - + /** * @param string $intercomCode * @return $this */ - public function setIntercomCode($intercomCode) + public function setIntercomCode(string $intercomCode): CustomerAddress { $this->intercomCode = $intercomCode; return $this; } - + /** * @param string $metro * @return $this */ - public function setMetro($metro) + public function setMetro(string $metro): CustomerAddress { $this->metro = $metro; return $this; } - + /** * @param string $notes * @return $this */ - public function setNotes($notes) + public function setNotes(string $notes): CustomerAddress { $this->notes = $notes; return $this; } - + /** * @param string $text * @return $this */ - public function setText($text) + public function setText(string $text): CustomerAddress { $this->text = $text; diff --git a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php index cbf3da30..3aa04755 100644 --- a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php +++ b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php @@ -63,10 +63,9 @@ class RetailCrmHistory $GLOBALS['RETAIL_CRM_HISTORY'] = true; $newUser = new CUser(); + $customerBuilder = new CustomerBuilder(); foreach ($customers as $customer) { - $customerBuilder = new CustomerBuilder(); - if (function_exists('retailCrmBeforeCustomerSave')) { $newResCustomer = retailCrmBeforeCustomerSave($customer); if (is_array($newResCustomer) && !empty($newResCustomer)) { @@ -175,6 +174,8 @@ class RetailCrmHistory retailCrmAfterCustomerSave($customer); } } + + $customerBuilder->reset(); } $GLOBALS['RETAIL_CRM_HISTORY'] = false; diff --git a/intaro.retailcrm/description.ru b/intaro.retailcrm/description.ru index db3af293..e176ea4d 100644 --- a/intaro.retailcrm/description.ru +++ b/intaro.retailcrm/description.ru @@ -1,3 +1 @@ -- Исправлено формирование картинок в ICML при включеном CDN -- Убрана некорректная запись внешнего идентификатора платежа для новых платежей по истории -- Добавлена проверка на длину email при отправке в систему +- Исправлена передача полей от одного пользователя к другому в момент загрузки истории из CRM diff --git a/intaro.retailcrm/install/version.php b/intaro.retailcrm/install/version.php index bb562d48..0ba8d15d 100644 --- a/intaro.retailcrm/install/version.php +++ b/intaro.retailcrm/install/version.php @@ -1,5 +1,5 @@ - "5.6.2", - "VERSION_DATE" => "2021-01-14 16:00:00" -); + '5.6.3', + 'VERSION_DATE' => '2021-03-23 14:00:00', +]; From 8e444e088073206c4a2a447e1f57fde485653714 Mon Sep 17 00:00:00 2001 From: Sergey Chazov Date: Mon, 5 Apr 2021 13:40:53 +0300 Subject: [PATCH 3/6] deleted return types in setters CustomerBuilder class --- .../classes/general/CustomerBuilder.php | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/intaro.retailcrm/classes/general/CustomerBuilder.php b/intaro.retailcrm/classes/general/CustomerBuilder.php index 12d57947..1fad30b0 100644 --- a/intaro.retailcrm/classes/general/CustomerBuilder.php +++ b/intaro.retailcrm/classes/general/CustomerBuilder.php @@ -40,7 +40,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa * @param Customer $customer * @return $this */ - public function setCustomer(Customer $customer): CustomerBuilder + public function setCustomer(Customer $customer) { $this->customer = $customer; @@ -50,7 +50,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa /** * @return Customer */ - public function getCustomer(): Customer + public function getCustomer() { return $this->customer; } @@ -68,7 +68,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa /** * @return CustomerAddress */ - public function getCustomerAddress(): CustomerAddress + public function getCustomerAddress() { return $this->customerAddress; } @@ -77,7 +77,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa * @param array $dataCrm * @return $this */ - public function setDataCrm($dataCrm): CustomerBuilder + public function setDataCrm($dataCrm) { $this->dataCrm = $dataCrm; @@ -88,7 +88,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa * @param array $user * @return $this */ - public function setUser($user): CustomerBuilder + public function setUser($user) { $this->user = $user; @@ -99,7 +99,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa * @param int $registeredUserID * @return $this */ - public function setRegisteredUserID(int $registeredUserID): CustomerBuilder + public function setRegisteredUserID(int $registeredUserID) { $this->registeredUserID = $registeredUserID; @@ -109,7 +109,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa /** * @return int */ - public function getRegisteredUserID(): int + public function getRegisteredUserID() { return $this->registeredUserID; } @@ -117,7 +117,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa /** * @return bool */ - public function getRegisterNewUser(): bool + public function getRegisterNewUser() { return $this->registerNewUser; } @@ -138,8 +138,8 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa if (isset($this->dataCrm['phones'])) { foreach ($this->dataCrm['phones'] as $phone) { - if (isset($phone['old_number']) && in_array($phone['old_number'], $this->user, true)) { - $key = array_search($phone['old_number'], $this->user, true); + if (isset($phone['old_number']) && in_array($phone['old_number'], $this->user)) { + $key = array_search($phone['old_number'], $this->user); if (isset($phone['number'])) { $this->user[$key] = $phone['number']; @@ -222,7 +222,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa * @param string $login * @return $this */ - public function setLogin(string $login): CustomerBuilder + public function setLogin(string $login) { $this->customer->setLogin($login); @@ -233,7 +233,7 @@ class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterfa * @param string $email * @return $this */ - public function setEmail(string $email): CustomerBuilder + public function setEmail(string $email) { $this->customer->setEmail($email); From de2b68c349b92b25b19b7bc47d9ade5055d08650 Mon Sep 17 00:00:00 2001 From: Sergey Chazov Date: Mon, 5 Apr 2021 14:57:04 +0300 Subject: [PATCH 4/6] deleted return types in setters CustomerBuilder class --- .../classes/general/Model/CustomerAddress.php | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/intaro.retailcrm/classes/general/Model/CustomerAddress.php b/intaro.retailcrm/classes/general/Model/CustomerAddress.php index 5fa3326f..fda41e8d 100644 --- a/intaro.retailcrm/classes/general/Model/CustomerAddress.php +++ b/intaro.retailcrm/classes/general/Model/CustomerAddress.php @@ -50,7 +50,7 @@ class CustomerAddress extends BaseModel * @param string $index * @return $this */ - public function setIndex(string $index): CustomerAddress + public function setIndex(string $index) { $this->index = $index; @@ -61,7 +61,7 @@ class CustomerAddress extends BaseModel * @param string $country * @return $this */ - public function setCountry(string $country): CustomerAddress + public function setCountry(string $country) { $this->country = $country; @@ -72,7 +72,7 @@ class CustomerAddress extends BaseModel * @param string $region * @return $this */ - public function setRegion(string $region): CustomerAddress + public function setRegion(string $region) { $this->region = $region; @@ -83,7 +83,7 @@ class CustomerAddress extends BaseModel * @param string $city * @return $this */ - public function setCity(string $city): CustomerAddress + public function setCity(string $city) { $this->city = $city; @@ -94,7 +94,7 @@ class CustomerAddress extends BaseModel * @param string $street * @return $this */ - public function setStreet(string $street): CustomerAddress + public function setStreet(string $street) { $this->street = $street; @@ -105,7 +105,7 @@ class CustomerAddress extends BaseModel * @param string $building * @return $this */ - public function setBuilding(string $building): CustomerAddress + public function setBuilding(string $building) { $this->building = $building; @@ -116,7 +116,7 @@ class CustomerAddress extends BaseModel * @param string $house * @return $this */ - public function setHouse(string $house): CustomerAddress + public function setHouse(string $house) { $this->house = $house; @@ -127,7 +127,7 @@ class CustomerAddress extends BaseModel * @param string $block * @return $this */ - public function setBlock(string $block): CustomerAddress + public function setBlock(string $block) { $this->block = $block; @@ -138,7 +138,7 @@ class CustomerAddress extends BaseModel * @param string $flat * @return $this */ - public function setFlat(string $flat): CustomerAddress + public function setFlat(string $flat) { $this->flat = $flat; @@ -149,7 +149,7 @@ class CustomerAddress extends BaseModel * @param string $floor * @return $this */ - public function setFloor(string $floor): CustomerAddress + public function setFloor(string $floor) { $this->floor = $floor; @@ -160,7 +160,7 @@ class CustomerAddress extends BaseModel * @param string $intercomCode * @return $this */ - public function setIntercomCode(string $intercomCode): CustomerAddress + public function setIntercomCode(string $intercomCode) { $this->intercomCode = $intercomCode; @@ -171,7 +171,7 @@ class CustomerAddress extends BaseModel * @param string $metro * @return $this */ - public function setMetro(string $metro): CustomerAddress + public function setMetro(string $metro) { $this->metro = $metro; @@ -182,7 +182,7 @@ class CustomerAddress extends BaseModel * @param string $notes * @return $this */ - public function setNotes(string $notes): CustomerAddress + public function setNotes(string $notes) { $this->notes = $notes; @@ -193,7 +193,7 @@ class CustomerAddress extends BaseModel * @param string $text * @return $this */ - public function setText(string $text): CustomerAddress + public function setText(string $text) { $this->text = $text; From 176278ece43d5e923baacbd86f00ddc087e059e4 Mon Sep 17 00:00:00 2001 From: Sergey Chazov Date: Tue, 6 Apr 2021 16:23:38 +0300 Subject: [PATCH 5/6] deleted params types in CustomerAddresses --- .../classes/general/Model/CustomerAddress.php | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/intaro.retailcrm/classes/general/Model/CustomerAddress.php b/intaro.retailcrm/classes/general/Model/CustomerAddress.php index fda41e8d..47501eaf 100644 --- a/intaro.retailcrm/classes/general/Model/CustomerAddress.php +++ b/intaro.retailcrm/classes/general/Model/CustomerAddress.php @@ -50,7 +50,7 @@ class CustomerAddress extends BaseModel * @param string $index * @return $this */ - public function setIndex(string $index) + public function setIndex($index) { $this->index = $index; @@ -61,7 +61,7 @@ class CustomerAddress extends BaseModel * @param string $country * @return $this */ - public function setCountry(string $country) + public function setCountry($country) { $this->country = $country; @@ -72,7 +72,7 @@ class CustomerAddress extends BaseModel * @param string $region * @return $this */ - public function setRegion(string $region) + public function setRegion($region) { $this->region = $region; @@ -83,7 +83,7 @@ class CustomerAddress extends BaseModel * @param string $city * @return $this */ - public function setCity(string $city) + public function setCity($city) { $this->city = $city; @@ -94,7 +94,7 @@ class CustomerAddress extends BaseModel * @param string $street * @return $this */ - public function setStreet(string $street) + public function setStreet($street) { $this->street = $street; @@ -105,7 +105,7 @@ class CustomerAddress extends BaseModel * @param string $building * @return $this */ - public function setBuilding(string $building) + public function setBuilding($building) { $this->building = $building; @@ -116,7 +116,7 @@ class CustomerAddress extends BaseModel * @param string $house * @return $this */ - public function setHouse(string $house) + public function setHouse($house) { $this->house = $house; @@ -127,7 +127,7 @@ class CustomerAddress extends BaseModel * @param string $block * @return $this */ - public function setBlock(string $block) + public function setBlock($block) { $this->block = $block; @@ -138,7 +138,7 @@ class CustomerAddress extends BaseModel * @param string $flat * @return $this */ - public function setFlat(string $flat) + public function setFlat($flat) { $this->flat = $flat; @@ -160,7 +160,7 @@ class CustomerAddress extends BaseModel * @param string $intercomCode * @return $this */ - public function setIntercomCode(string $intercomCode) + public function setIntercomCode($intercomCode) { $this->intercomCode = $intercomCode; @@ -171,7 +171,7 @@ class CustomerAddress extends BaseModel * @param string $metro * @return $this */ - public function setMetro(string $metro) + public function setMetro($metro) { $this->metro = $metro; @@ -182,7 +182,7 @@ class CustomerAddress extends BaseModel * @param string $notes * @return $this */ - public function setNotes(string $notes) + public function setNotes($notes) { $this->notes = $notes; @@ -193,7 +193,7 @@ class CustomerAddress extends BaseModel * @param string $text * @return $this */ - public function setText(string $text) + public function setText($text) { $this->text = $text; From c40e0494857cfeb3a0df2b041929f22f758f486b Mon Sep 17 00:00:00 2001 From: Sergey Chazov Date: Fri, 16 Apr 2021 13:52:52 +0300 Subject: [PATCH 6/6] deleted bump version --- CHANGELOG.md | 3 --- intaro.retailcrm/description.ru | 4 +++- intaro.retailcrm/install/version.php | 10 +++++----- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdd9e440..022e3c31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,3 @@ -## 2021-03-23 v.5.6.3 -* Исправлена передача полей от одного пользователя к другому в момент загрузки истории из CRM - ## 2021-01-14 v.5.6.2 * Исправлено формирование картинок в ICML при включеном CDN * Убрана некорректная запись внешнего идентификатора платежа для новых платежей по истории diff --git a/intaro.retailcrm/description.ru b/intaro.retailcrm/description.ru index e176ea4d..83198c85 100644 --- a/intaro.retailcrm/description.ru +++ b/intaro.retailcrm/description.ru @@ -1 +1,3 @@ -- Исправлена передача полей от одного пользователя к другому в момент загрузки истории из CRM +- Исправлено формирование картинок в ICML при включеном CDN +- Убрана некорректная запись внешнего идентификатора платежа для новых платежей по истории +- Добавлена проверка на длину email при отправке в систему \ No newline at end of file diff --git a/intaro.retailcrm/install/version.php b/intaro.retailcrm/install/version.php index 0ba8d15d..bb562d48 100644 --- a/intaro.retailcrm/install/version.php +++ b/intaro.retailcrm/install/version.php @@ -1,5 +1,5 @@ - '5.6.3', - 'VERSION_DATE' => '2021-03-23 14:00:00', -]; + "5.6.2", + "VERSION_DATE" => "2021-01-14 16:00:00" +);