Skip to content

Commit

Permalink
fix-agent-error
Browse files Browse the repository at this point in the history
  • Loading branch information
anton committed Oct 21, 2024
1 parent 6fb061e commit 26ba9df
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 2024-10-21 v6.5.34
- Исправлена ошибка агента выгрузки изменении при наличии у заказа клиента без магазина

## 2024-10-14 v6.5.33
- Добавлена передача дополнительных параметров в GET запросах

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,11 @@ public static function orderHistory(): bool
$order['site']
);

if (!$response) {
Logger::getInstance()->write("Заказ {$order["id"]} не выгружен. Не удалось получить клиента", 'orderAgent');
continue;
}

$newUser = new CUser();
$customerBuilder = new CustomerBuilder();
$customerBuilder->setDataCrm($response['customer'])->build();
Expand Down
2 changes: 1 addition & 1 deletion intaro.retailcrm/description.ru
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Добавлена передача дополнительных параметров в GET запросах
- Исправлена ошибка агента выгрузки изменении при наличии у заказа клиента без магазина
4 changes: 2 additions & 2 deletions intaro.retailcrm/install/version.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

$arModuleVersion = [
'VERSION' => '6.5.33',
'VERSION_DATE' => '2024-10-14 17:00:00'
'VERSION' => '6.5.34',
'VERSION_DATE' => '2024-10-21 17:00:00'
];
2 changes: 1 addition & 1 deletion intaro.retailcrm/lib/component/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
class Constants
{
public const MODULE_VERSION = '6.5.33';
public const MODULE_VERSION = '6.5.34';
public const CRM_PURCHASE_PRICE_NULL = 'purchasePrice_null';
public const BITRIX_USER_ID_PREFIX = 'bitrixUserId-';
public const CRM_USERS_MAP = 'crm_users_map';
Expand Down

0 comments on commit 26ba9df

Please sign in to comment.