1
0
mirror of synced 2024-11-25 23:06:08 +03:00

fix custom order type function names

This commit is contained in:
Grisha Pomadchin 2014-02-10 15:23:57 +04:00
parent 74fb142f05
commit 5d0f4e745a

View File

@ -376,8 +376,8 @@ class ICrmOrderActions
foreach ($orderHistory as $order) {
// custom orderType functunion
if(function_exists('intarocrm_get_order_type_c')) {
$orderType = intarocrm_get_order_type_c($order);
if(function_exists('intarocrm_set_order_type')) {
$orderType = intarocrm_set_order_type($order);
if($orderType)
$optionsOrderTypes[$order['orderType']] = $orderType;
}
@ -1112,8 +1112,8 @@ class ICrmOrderActions
}
// custom orderType functunion
if(function_exists('intarocrm_get_order_type_b')) {
$orderType = intarocrm_get_order_type_b($arFields);
if(function_exists('intarocrm_get_order_type')) {
$orderType = intarocrm_get_order_type($arFields);
if($orderType)
$resOrder['orderType'] = $orderType;
}