• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/config/state.php
  • Класс: BitrixCatalogConfigState
  • Вызов: State::isShowedStoreReserve
static function isShowedStoreReserve(): bool
{
	if (!self::isUsedInventoryManagement())
	{
		return false;
	}
	if (
		MainConfigOption::get('catalog', 'enable_reservation') === 'Y'
		&& MainConfigOption::get('catalog', 'show_store_reserve') === 'Y'
	)
	{
		return true;
	}
	if (self::isCrmIncluded())
	{
		return (MainConfigOption::get('crm', 'enable_order_deal_create') === 'Y');
	}

	return false;
}