Skip to content

Commit

Permalink
Исправлена ошибка агента выгрузки изменений при наличии у заказа клие…
Browse files Browse the repository at this point in the history
…нта без магазина (#367)
  • Loading branch information
ellynoize authored Oct 22, 2024
1 parent 6fb061e commit 7e260a2
Show file tree
Hide file tree
Showing 5 changed files with 15 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,14 @@ public static function orderHistory(): bool
$order['site']
);

if (!$response) {
Logger::getInstance()->write(
sprintf('Заказ %s не выгружен. Не удалось получить клиента', $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 7e260a2

Please sign in to comment.