fix bug with LocationTable fqn
This commit is contained in:
parent
34d9d6d576
commit
d25a6eddf3
@ -11,6 +11,7 @@ use Bitrix\Sale\Order;
|
||||
use RetailCrm\ApiClient;
|
||||
use Intaro\RetailCrm\Service\ManagerService;
|
||||
use RetailCrm\Response\ApiResponse;
|
||||
use \Bitrix\Sale\Location\Name\LocationTable as LocationTableName;
|
||||
|
||||
IncludeModuleLangFile(__FILE__);
|
||||
|
||||
@ -135,12 +136,12 @@ class RetailCrmOrder
|
||||
}
|
||||
}
|
||||
|
||||
$location = LocationTable::getList([
|
||||
$location = LocationTableName::getList([
|
||||
'filter' => ['=LOCATION_ID' => $arLoc['CITY_ID'], 'LANGUAGE_ID' => 'ru']
|
||||
])->fetch();
|
||||
|
||||
if (count($countrys) > 0) {
|
||||
$countryOrder = LocationTable::getList([
|
||||
$countryOrder = LocationTableName::getList([
|
||||
'filter' => ['=LOCATION_ID' => $arLoc['COUNTRY_ID'], 'LANGUAGE_ID' => 'ru']
|
||||
])->fetch();
|
||||
if(isset($countrys[$countryOrder['NAME']])){
|
||||
|
Loading…
Reference in New Issue
Block a user