From 17c853144c1f5158aa8528ab33095eac6fb14c80 Mon Sep 17 00:00:00 2001 From: gorokh Date: Fri, 1 Nov 2019 14:22:23 +0300 Subject: [PATCH] =?UTF-8?q?issues=20#84=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D0=BA=D0=B0=20=D0=B4=D0=BB=D1=8F=20contragent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../classes/general/history/RetailCrmHistory_v5.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php index a0042e7b..7badf05c 100644 --- a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php +++ b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php @@ -612,6 +612,9 @@ class RetailCrmHistory if (array_key_exists($key, $order)) { $somePropValue = $propertyCollection->getItemByOrderPropertyId($propsKey[$orderProp]['ID']); self::setProp($somePropValue, RCrmActions::fromJSON($order[$key])); + } elseif(array_key_exists($key, $order['contragent'])) { + $somePropValue = $propertyCollection->getItemByOrderPropertyId($propsKey[$orderProp]['ID']); + self::setProp($somePropValue, RCrmActions::fromJSON($order['contragent'][$key])); } } }