• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/component/reportproductlist.php
  • Класс: BitrixCatalogComponentReportProductList
  • Вызов: ReportProductList::formatNumberWithMeasure
protected function formatNumberWithMeasure($number, int $measureId)
{
	if (!$measureId)
	{
		$measureId = $this->getDefaultMeasure()['ID'];
	}
	return Loc::getMessage(
		'CATALOG_REPORT_PRODUCT_LIST_MEASURE_TEMPLATE',
		[
			'#NUMBER#' => $number,
			'#MEASURE_SYMBOL#' => $this->getMeasureSymbol($measureId),
		]
	);
}