From 4efbb8d8e5c1ae307fe741d9c933711ba41765db Mon Sep 17 00:00:00 2001 From: Uryvskiy Dima Date: Wed, 31 Jul 2024 17:30:03 +0300 Subject: [PATCH] Add bump --- CHANGELOG.md | 3 +++ VERSION | 2 +- retailcrm/lib/RetailcrmOrderBuilder.php | 4 ++-- retailcrm/lib/settings/RetailcrmSettings.php | 2 +- retailcrm/retailcrm.php | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index edeb3dff..9910e390 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## v3.6.7 +* Добавлена передача полей "Компания" и "Номер НДС" из заказа CMS в пользовательские поля заказа CRM + ## v3.6.6 * Добавлена передача поля link при выгрузке брошенных корзин diff --git a/VERSION b/VERSION index 4f2c1d15..5b341314 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.6.6 +3.6.7 diff --git a/retailcrm/lib/RetailcrmOrderBuilder.php b/retailcrm/lib/RetailcrmOrderBuilder.php index dac55e36..8723e82e 100644 --- a/retailcrm/lib/RetailcrmOrderBuilder.php +++ b/retailcrm/lib/RetailcrmOrderBuilder.php @@ -329,7 +329,7 @@ private function buildRegularAddress() ->setAddress($this->invoiceAddress) ->build() ->getDataArray() - ; + ; } /** @@ -354,7 +354,7 @@ private function buildCorporateAddress($isMain = true) ->setWithExternalId(true) ->build() ->getDataArray() - ; + ; } /** diff --git a/retailcrm/lib/settings/RetailcrmSettings.php b/retailcrm/lib/settings/RetailcrmSettings.php index 02a3f331..f389041e 100644 --- a/retailcrm/lib/settings/RetailcrmSettings.php +++ b/retailcrm/lib/settings/RetailcrmSettings.php @@ -149,7 +149,7 @@ private function createCompanyAndVatNumberFields() $customFields = [ ['code' => 'ps_company', 'name' => $company, 'type' => 'string', 'displayArea' => 'customer'], - ['code' => 'ps_vat_number', 'name' => $vatNumber, 'type' => 'string', 'displayArea' => 'customer'] + ['code' => 'ps_vat_number', 'name' => $vatNumber, 'type' => 'string', 'displayArea' => 'customer'], ]; if (null !== $api) { diff --git a/retailcrm/retailcrm.php b/retailcrm/retailcrm.php index 09864b10..8556f35d 100755 --- a/retailcrm/retailcrm.php +++ b/retailcrm/retailcrm.php @@ -48,7 +48,7 @@ class RetailCRM extends Module { - const VERSION = '3.6.6'; + const VERSION = '3.6.7'; const API_URL = 'RETAILCRM_ADDRESS'; const API_KEY = 'RETAILCRM_API_TOKEN';