CCrmCurrency::GetBaseCurrency

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmCurrency
  4. GetBaseCurrency
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_currency.php
  • Класс: \CCrmCurrency
  • Вызов: CCrmCurrency::GetBaseCurrency
static function GetBaseCurrency()
{
	if (!Loader::includeModule('currency'))
	{
		return false;
	}

	$baseCurrencyID = Currency\CurrencyManager::getBaseCurrency();
	if ($baseCurrencyID === null)
	{
		return false;
	}
	return self::GetByID($baseCurrencyID);
}

Добавить комментарий