Передача параметра site для метода работы с корпоративными клиентами
This commit is contained in:
commit
38e6ce092a
@ -154,6 +154,8 @@ class RetailCrmEvent
|
|||||||
$site = null;
|
$site = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$api->setSite($site);
|
||||||
|
|
||||||
//new order?
|
//new order?
|
||||||
$orderCrm = RCrmActions::apiMethod($api, 'ordersGet', __METHOD__, $arOrder['ID'], $site);
|
$orderCrm = RCrmActions::apiMethod($api, 'ordersGet', __METHOD__, $arOrder['ID'], $site);
|
||||||
|
|
||||||
@ -360,7 +362,7 @@ class RetailCrmEvent
|
|||||||
$nickName,
|
$nickName,
|
||||||
$address,
|
$address,
|
||||||
$api,
|
$api,
|
||||||
$site = null
|
$site
|
||||||
);
|
);
|
||||||
|
|
||||||
$arParams['customerCorporate'] = $userCorp['customerCorporate'];
|
$arParams['customerCorporate'] = $userCorp['customerCorporate'];
|
||||||
|
Loading…
Reference in New Issue
Block a user