...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/widget/data/dealchannelstatistics.php
- Класс: Bitrix\Crm\Widget\Data\DealChannelStatistics
- Вызов: DealChannelStatistics::getPresets
static function getPresets() { self::includeModuleFile(); $result = array( array( 'entity' => \CCrmOwnerType::DealName, 'title' => GetMessage('CRM_DEAL_CHANNEL_STAT_PRESET_OVERALL_COUNT'), 'name' => self::TYPE_NAME.'::OVERALL_COUNT', 'source' => self::TYPE_NAME, 'select' => array('name' => 'COUNT', 'aggregate' => 'COUNT'), 'context' => DataContext::ENTITY, 'grouping' => array('extras' => array(self::GROUP_BY_CHANNEL)) ), array( 'entity' => \CCrmOwnerType::DealName, 'title' => GetMessage('CRM_DEAL_CHANNEL_STAT_PRESET_OVERALL_SUM'), 'name' => self::TYPE_NAME.'::OVERALL_SUM', 'source' => self::TYPE_NAME, 'select' => array('name' => 'SUM_TOTAL', 'aggregate' => 'SUM'), 'format' => array('isCurrency' => 'Y', 'enableDecimals' => 'N'), 'context' => DataContext::FUND ) ); return $result; }