• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/grid/column/productprovider.php
  • Класс: BitrixCatalogGridColumnProductProvider
  • Вызов: ProductProvider::getVatColumnsDescription
protected function getVatColumnsDescription(): array
{
	$allowProductEdit = $this->allowProductEdit();

	$result = [];

	$result['VAT_INCLUDED'] = [
		'type' => GridColumnType::CHECKBOX,
		'name' => Loc::getMessage('PRODUCT_COLUMN_PROVIDER_FIELD_VAT_INCLUDED'),
		'necessary' => false,
		'editable' => $allowProductEdit,
		'multiple' => false,
		'sort' => null,
		'align' => 'right',
	];

	$result['VAT_ID'] = [
		'type' => GridColumnType::DROPDOWN,
		'name' => Loc::getMessage('PRODUCT_COLUMN_PROVIDER_FIELD_VAT_ID'),
		'necessary' => false,
		'editable' => $allowProductEdit ? $this->getVatEditable() : false,
		'multiple' => false,
		'align' => 'right',
		'partial' => true,
	];

	return $result;
}