• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/delivery/extra_services/enum.php
  • Класс: BitrixSaleDeliveryExtraServicesEnum
  • Вызов: Enum::getValueHtml
static function getValueHtml($name, $id, $title = "", $price = "", $currency = "")
{
	$price = roundEx((float)$price, SALE_VALUE_PRECISION);
	$currency = htmlspecialcharsbx((string)$currency);

	return Loc::getMessage("DELIVERY_EXTRA_SERVICE_ENUM_NAME").
		':   '.
		Loc::getMessage("DELIVERY_EXTRA_SERVICE_ENUM_PRICE").
		': '.($currency <> '' ? " (".$currency.")" : "");
}