This commit is contained in:
Uryvskiy Dima 2024-07-31 17:30:03 +03:00
parent ecf59a8b83
commit 4efbb8d8e5
5 changed files with 8 additions and 5 deletions

View file

@ -1,3 +1,6 @@
## v3.6.7
* Добавлена передача полей "Компания" и "Номер НДС" из заказа CMS в пользовательские поля заказа CRM
## v3.6.6
* Добавлена передача поля link при выгрузке брошенных корзин

View file

@ -1 +1 @@
3.6.6
3.6.7

View file

@ -329,7 +329,7 @@ class RetailcrmOrderBuilder
->setAddress($this->invoiceAddress)
->build()
->getDataArray()
;
;
}
/**
@ -354,7 +354,7 @@ class RetailcrmOrderBuilder
->setWithExternalId(true)
->build()
->getDataArray()
;
;
}
/**

View file

@ -149,7 +149,7 @@ class RetailcrmSettings
$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) {

View file

@ -48,7 +48,7 @@ require_once dirname(__FILE__) . '/bootstrap.php';
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';