Your IP : 216.73.216.86


Current Path : /var/www/homesaver/www/bitrix/modules/catalog/lib/store/enablewizard/
Upload File :
Current File : /var/www/homesaver/www/bitrix/modules/catalog/lib/store/enablewizard/tariffchecker.php

<?php

namespace Bitrix\Catalog\Store\EnableWizard;

use Bitrix\Main\Loader;
use Bitrix\Bitrix24\Feature;

class TariffChecker
{
	public const FEATURE_ID = 'catalog_inventory_management_1c';

	public static function isOnecInventoryManagementRestricted(): bool
	{
		return (
			Loader::includeModule('bitrix24')
			&& !Feature::isFeatureEnabled(self::FEATURE_ID)
		);
	}
}