3namespace Bitrix\Sale\Delivery\ExtraServices;
5use Bitrix\Main\ArgumentNullException;
7use Bitrix\Sale\Internals\Input;
8use Bitrix\Main\Localization\Loc;
11Loc::loadMessages(__FILE__);
17 if(!\
Bitrix\
Main\Loader::includeModule(
'catalog'))
20 $filter =
array(
"ACTIVE" =>
"Y",
"ISSUING_CENTER" =>
"Y");
26 $dbList = \CCatalogStore::GetList(
27 array(
"SORT" =>
"ASC",
"TITLE" =>
"ASC"),
31 array(
"ID",
"SITE_ID",
"TITLE",
"ADDRESS",
"DESCRIPTION",
"IMAGE_ID",
"PHONE",
"SCHEDULE",
"LOCATION_ID",
"GPS_N",
"GPS_S")
34 while ($store = $dbList->Fetch())
37 $result[$store[
"ID"]] = $store[
"TITLE"].($store[
"SITE_ID"] <>
'' ?
" [".$store[
"SITE_ID"].
"]" :
"");
47 return Loc::getMessage(
"DELIVERY_EXTRA_SERVICE_STORE_TITLE");
57 return Loc::getMessage(
"DELIVERY_EXTRA_SERVICE_STORE_TITLE");
63 $name.
"[PARAMS][STORES]",
67 "OPTIONS" => self::getStoresList(),
69 $params[
"PARAMS"][
"STORES"] ??
null
82 "OPTIONS" => self::getStoresList()
93 $value = $this->value;
95 $result =
'<div class="view_map">';
100 "bitrix:sale.store.choose",
103 "INPUT_NAME" => $prefix,
104 "DELIVERY_ID" => $this->deliveryId,
105 "SELECTED_STORE" => $value,
106 "STORES_LIST" => self::getStoresList(
false,
$siteId)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']