5require_once __DIR__.
'/../../internals/input.php';
12Loc::loadMessages(__FILE__);
23 'select' =>
array(
'LNAME' =>
'NAME.NAME'),
24 'filter' =>
array(
'NAME.LANGUAGE_ID' => LANGUAGE_ID)
28 while($loc =
$res->fetch())
34 'select' =>
array(
'LNAME' =>
'NAME.NAME'),
35 'filter' =>
array(
'NAME.LANGUAGE_ID' => LANGUAGE_ID)
39 while($loc =
$res->fetch())
52 "bitrix:sale.location.selector.system",
55 "ENTITY_PRIMARY" => $input[
"COMPANY_ID"],
56 "LINK_ENTITY_NAME" => Company\Manager::getLocationConnectorEntityName(),
66 var bxInputcompanyLocMultiStep3 = function()
68 BX.loadScript("/bitrix/components/bitrix/sale.location.selector.system/templates/.default/script.js", function(){
69 BX.onCustomEvent("companyGetRuleHtmlScriptsReady");
73 var bxInputcompanyLocMultiStep2Count = 0;
75 var bxInputcompanyLocMultiStep2CB = function(){
77 bxInputcompanyLocMultiStep2Count++;
79 if(bxInputcompanyLocMultiStep2Count >= 3)
80 bxInputcompanyLocMultiStep3();
83 var bxInputcompanyLocMultiStep2 = function()
85 BX.loadScript("/bitrix/js/sale/core_ui_etc.js", bxInputcompanyLocMultiStep2CB);
86 BX.loadScript("/bitrix/js/sale/core_ui_autocomplete.js", bxInputcompanyLocMultiStep2CB);
87 BX.loadScript("/bitrix/js/sale/core_ui_itemtree.js", bxInputcompanyLocMultiStep2CB);
90 BX.loadScript("/bitrix/js/sale/core_ui_widget.js", bxInputcompanyLocMultiStep2);
92 //at first we must load some scripts in the right order
93 window["companyGetRuleHtmlScriptsLoadingStarted"] = true;
97 <link rel="stylesheet" type="text/css" href="/bitrix/panel/main/adminstyles_fixed.css">
98 <link rel="stylesheet" type="text/css" href="/bitrix/panel/main/admin.css">
99 <link rel="stylesheet" type="text/css" href="/bitrix/panel/main/admin-public.css">
100 <link rel="stylesheet" type="text/css" href="/bitrix/components/bitrix/sale.location.selector.system/templates/.default/style.css">
125 'CLASS' => __NAMESPACE__.
'\\LocationMulti',
126 'NAME' => Loc::getMessage(
'INPUT_company_LOCATION_MULTI')
static getConnectedLocations($entityPrimary, $parameters=array(), $behaviour=array('GET_LINKED_THROUGH_GROUPS'=> false))
static getConnectedGroups($entityPrimary, $parameters=array())
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
htmlspecialcharsbx($string, $flags=ENT_COMPAT, $doubleEncode=true)