• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/component/baseform.php
  • Класс: BitrixCatalogComponentBaseForm
  • Вызов: BaseForm::getVats
protected function getVats(): array
{
	static $vats = null;

	if ($vats === null)
	{
		$vats = CatalogVatTable::getList([
			'select' => ['ID', 'NAME', 'RATE', 'EXCLUDE_VAT'],
			'filter' => ['=ACTIVE' => 'Y'],
		])->fetchAll();
	}

	return $vats;
}