• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/documentgenerator/dataprovider/baserequisite.php
  • Класс: Bitrix\Crm\Integration\DocumentGenerator\DataProvider\BaseRequisite
  • Вызов: BaseRequisite::getCountryIdByRegion
static function getCountryIdByRegion($region)
{
	$countryId = static::getRegionCountryIdMap()[$region];
	if(!$countryId)
	{
		$countryId = Country::ID_USA;
	}

	return $countryId;
}