1
0
mirror of synced 2024-11-24 22:36:07 +03:00

updated logic; render order cancel status; sending statusComment;

This commit is contained in:
Grisha Pomadchin 2013-07-24 16:40:08 +04:00
parent 454e1a1553
commit 6230fc1392
3 changed files with 5 additions and 6 deletions

View File

@ -273,6 +273,9 @@ class ICrmOrderActions
);
}
if($arFields['CANCELED'] == 'Y')
$arFields['STATUS_ID'] = $arFields['CANCELED'];
$resOrder = self::clearArr(array(
'contactName' => $resOrder['contactName'],
'phone' => $resOrder['phone'],
@ -287,6 +290,7 @@ class ICrmOrderActions
'orderType' => $arParams['optionsOrderTypes'][$arFields['PERSON_TYPE_ID']],
'deliveryType' => $arParams['optionsDelivTypes'][$resultDeliveryTypeId],
'status' => $arParams['optionsPayStatuses'][$arFields['STATUS_ID']],
'statusComment' => $arFields['REASON_CANCELED'],
'deliveryAddress' => $resOrderDeliveryAddress,
'items' => $items
));

View File

@ -1,5 +1,5 @@
<?
$arModuleVersion = array(
'VERSION' => '0.3.5',
'VERSION_DATE' => '2013-07-24 13:41:00',
'VERSION_DATE' => '2013-07-24 16:38:00',
);

View File

@ -1,5 +0,0 @@
<?
$arModuleVersion = array(
'VERSION' => '0.4.5',
'VERSION_DATE' => '2013-07-24 13:41:00',
);