1
0
mirror of synced 2024-11-25 14:56:09 +03:00

Передача параметра site для метода работы с корпоративными клиентами

This commit is contained in:
Alex Lushpai 2022-04-18 16:38:14 +03:00 committed by GitHub
commit 38e6ce092a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'];