fix custom order type function names
This commit is contained in:
parent
74fb142f05
commit
5d0f4e745a
@ -376,8 +376,8 @@ class ICrmOrderActions
|
|||||||
foreach ($orderHistory as $order) {
|
foreach ($orderHistory as $order) {
|
||||||
|
|
||||||
// custom orderType functunion
|
// custom orderType functunion
|
||||||
if(function_exists('intarocrm_get_order_type_c')) {
|
if(function_exists('intarocrm_set_order_type')) {
|
||||||
$orderType = intarocrm_get_order_type_c($order);
|
$orderType = intarocrm_set_order_type($order);
|
||||||
if($orderType)
|
if($orderType)
|
||||||
$optionsOrderTypes[$order['orderType']] = $orderType;
|
$optionsOrderTypes[$order['orderType']] = $orderType;
|
||||||
}
|
}
|
||||||
@ -1112,8 +1112,8 @@ class ICrmOrderActions
|
|||||||
}
|
}
|
||||||
|
|
||||||
// custom orderType functunion
|
// custom orderType functunion
|
||||||
if(function_exists('intarocrm_get_order_type_b')) {
|
if(function_exists('intarocrm_get_order_type')) {
|
||||||
$orderType = intarocrm_get_order_type_b($arFields);
|
$orderType = intarocrm_get_order_type($arFields);
|
||||||
if($orderType)
|
if($orderType)
|
||||||
$resOrder['orderType'] = $orderType;
|
$resOrder['orderType'] = $orderType;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user