diff --git a/intaro.intarocrm/classes/general/ICrmOrderActions.php b/intaro.intarocrm/classes/general/ICrmOrderActions.php index 5f45c072..8c189543 100755 --- a/intaro.intarocrm/classes/general/ICrmOrderActions.php +++ b/intaro.intarocrm/classes/general/ICrmOrderActions.php @@ -1105,6 +1105,13 @@ class ICrmOrderActions $resOrder['patronymic'] = $contactNameArr[2]; } + // custom orderType functunion + if(function_exists('intarocrm_get_order_type')) { + $orderType = intarocrm_get_order_type($arFields); + if($orderType) + $resOrder['orderType'] = $orderType; + } + $resOrder = self::clearArr($resOrder); if($send)