updated logic; render order cancel status; sending statusComment;
This commit is contained in:
parent
454e1a1553
commit
6230fc1392
@ -273,6 +273,9 @@ class ICrmOrderActions
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($arFields['CANCELED'] == 'Y')
|
||||||
|
$arFields['STATUS_ID'] = $arFields['CANCELED'];
|
||||||
|
|
||||||
$resOrder = self::clearArr(array(
|
$resOrder = self::clearArr(array(
|
||||||
'contactName' => $resOrder['contactName'],
|
'contactName' => $resOrder['contactName'],
|
||||||
'phone' => $resOrder['phone'],
|
'phone' => $resOrder['phone'],
|
||||||
@ -287,6 +290,7 @@ class ICrmOrderActions
|
|||||||
'orderType' => $arParams['optionsOrderTypes'][$arFields['PERSON_TYPE_ID']],
|
'orderType' => $arParams['optionsOrderTypes'][$arFields['PERSON_TYPE_ID']],
|
||||||
'deliveryType' => $arParams['optionsDelivTypes'][$resultDeliveryTypeId],
|
'deliveryType' => $arParams['optionsDelivTypes'][$resultDeliveryTypeId],
|
||||||
'status' => $arParams['optionsPayStatuses'][$arFields['STATUS_ID']],
|
'status' => $arParams['optionsPayStatuses'][$arFields['STATUS_ID']],
|
||||||
|
'statusComment' => $arFields['REASON_CANCELED'],
|
||||||
'deliveryAddress' => $resOrderDeliveryAddress,
|
'deliveryAddress' => $resOrderDeliveryAddress,
|
||||||
'items' => $items
|
'items' => $items
|
||||||
));
|
));
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?
|
<?
|
||||||
$arModuleVersion = array(
|
$arModuleVersion = array(
|
||||||
'VERSION' => '0.3.5',
|
'VERSION' => '0.3.5',
|
||||||
'VERSION_DATE' => '2013-07-24 13:41:00',
|
'VERSION_DATE' => '2013-07-24 16:38:00',
|
||||||
);
|
);
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
<?
|
|
||||||
$arModuleVersion = array(
|
|
||||||
'VERSION' => '0.4.5',
|
|
||||||
'VERSION_DATE' => '2013-07-24 13:41:00',
|
|
||||||
);
|
|
Loading…
Reference in New Issue
Block a user