1
0
mirror of synced 2024-11-26 07:16: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) { 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;
} }