1
0
mirror of synced 2024-11-22 21:36:10 +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']],
'DELIVERY_ID' => $resultDeliveryTypeId,
'STATUS_ID' => $optionsPayStatuses[$order['status']],
'REASON_CANCELED' => $order['statusComment'],
'USER_DESCRIPTION' => $order['customerComment'],
'COMMENTS' => $order['managerComment']
'REASON_CANCELED' => self::fromJSON($order['statusComment']),
'USER_DESCRIPTION' => self::fromJSON($order['customerComment']),
'COMMENTS' => self::fromJSON($order['managerComment'])
));
CSaleOrder::Update($order['externalId'], $arFields);