From 7d806a5fea91017e1a432ff8146ae81657a81f87 Mon Sep 17 00:00:00 2001 From: gorokh Date: Wed, 14 Oct 2020 14:27:02 +0300 Subject: [PATCH] fixed on create orders agent unset fields --- CHANGELOG.md | 3 +++ intaro.retailcrm/classes/general/order/RetailCrmOrder_v5.php | 2 +- intaro.retailcrm/description.ru | 3 +-- intaro.retailcrm/install/version.php | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bbf7470..ff28ba48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2020-10-14 v.5.5.3 +* Исправлено затирание полей при создании заказа по агенту + ## 2020-10-01 v.5.5.2 * Исправлена ошибка, препятствовавшая обновлению модуля * Исправлена неверная кодировка в настройках модуля diff --git a/intaro.retailcrm/classes/general/order/RetailCrmOrder_v5.php b/intaro.retailcrm/classes/general/order/RetailCrmOrder_v5.php index 7b86aa5f..57b87465 100644 --- a/intaro.retailcrm/classes/general/order/RetailCrmOrder_v5.php +++ b/intaro.retailcrm/classes/general/order/RetailCrmOrder_v5.php @@ -457,7 +457,7 @@ class RetailCrmOrder } } - $arOrders = self::orderSend($order, $api, $arParams, false, $site); + $arOrders = self::orderSend($order, $api, $arParams, false, $site,'ordersCreate'); if (!$arCustomer || !$arOrders) { continue; diff --git a/intaro.retailcrm/description.ru b/intaro.retailcrm/description.ru index 2d136fcb..8c94d1d6 100644 --- a/intaro.retailcrm/description.ru +++ b/intaro.retailcrm/description.ru @@ -1,2 +1 @@ -- Исправлена ошибка, препятствовавшая обновлению модуля -- Исправлена неверная кодировка в настройках модуля +- Исправлено затирание полей при создании заказа по агенту diff --git a/intaro.retailcrm/install/version.php b/intaro.retailcrm/install/version.php index 8f0006ce..8c4a7638 100644 --- a/intaro.retailcrm/install/version.php +++ b/intaro.retailcrm/install/version.php @@ -1,5 +1,5 @@ "5.5.2", - "VERSION_DATE" => "2020-10-01 16:15:00" + "VERSION" => "5.5.3", + "VERSION_DATE" => "2020-10-15 15:48:00" );