1
0
mirror of synced 2024-11-26 23:36:08 +03:00

add convert charset for comments in orderHistory method

This commit is contained in:
Chernyavtsev Ivan 2014-05-29 18:06:47 +04:00
parent ca8c7a2719
commit 480b4345ce

View File

@ -964,9 +964,9 @@ class ICrmOrderActions
//'PERSON_TYPE_ID' => $optionsOrderTypes[$order['orderType']], //'PERSON_TYPE_ID' => $optionsOrderTypes[$order['orderType']],
'DELIVERY_ID' => $resultDeliveryTypeId, 'DELIVERY_ID' => $resultDeliveryTypeId,
'STATUS_ID' => $optionsPayStatuses[$order['status']], 'STATUS_ID' => $optionsPayStatuses[$order['status']],
'REASON_CANCELED' => $order['statusComment'], 'REASON_CANCELED' => self::fromJSON($order['statusComment']),
'USER_DESCRIPTION' => $order['customerComment'], 'USER_DESCRIPTION' => self::fromJSON($order['customerComment']),
'COMMENTS' => $order['managerComment'] 'COMMENTS' => self::fromJSON($order['managerComment'])
)); ));
CSaleOrder::Update($order['externalId'], $arFields); CSaleOrder::Update($order['externalId'], $arFields);