• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_report_helper.php
  • Класс: \CCrmReportManager
  • Вызов: CCrmReportManager::GetReportCurrencyID
static function GetReportCurrencyID()
{
	if(!self::$REPORT_CURRENCY_ID)
	{
		self::$REPORT_CURRENCY_ID = CUserOptions::GetOption('crm', 'report_currency_id', '');
		if(!isset(self::$REPORT_CURRENCY_ID[0]))
		{
			self::$REPORT_CURRENCY_ID = CCrmCurrency::GetBaseCurrencyID();
		}
	}

	return self::$REPORT_CURRENCY_ID;
}