...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/widget/data/invoiceinwork.php
- Класс: Bitrix\Crm\Widget\Data\InvoiceInWork
- Вызов: InvoiceInWork::getPresets
static function getPresets() { self::includeModuleFile(); return array( array( 'entity' => \CCrmOwnerType::InvoiceName, 'title' => GetMessage('CRM_INVOICE_IN_WORK_PRESET_OVERALL_COUNT'), 'listTitle' => GetMessage('CRM_INVOICE_IN_WORK_PRESET_OVERALL_COUNT_SHORT'), 'name' => self::TYPE_NAME.'::OVERALL_COUNT', 'source' => self::TYPE_NAME, 'select' => array('name' => 'COUNT', 'aggregate' => 'COUNT'), 'context' => DataContext::ENTITY, 'category' => 'IN_WORK' ), array( 'entity' => \CCrmOwnerType::InvoiceName, 'title' => GetMessage('CRM_INVOICE_IN_WORK_PRESET_OVERALL_SUM'), 'listTitle' => GetMessage('CRM_INVOICE_IN_WORK_PRESET_OVERALL_SUM_SHORT'), '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, 'category' => 'IN_WORK' ), array( 'entity' => \CCrmOwnerType::InvoiceName, 'title' => GetMessage('CRM_INVOICE_IN_WORK_PRESET_OVERALL_COUNT_OWED'), 'listTitle' => GetMessage('CRM_INVOICE_IN_WORK_PRESET_OVERALL_COUNT_SHORT'), 'name' => self::TYPE_NAME.'::OVERALL_COUNT_OWED', 'source' => self::TYPE_NAME, 'select' => array('name' => 'COUNT_OWED', 'aggregate' => 'COUNT'), 'context' => DataContext::ENTITY, 'category' => 'OWED' ), array( 'entity' => \CCrmOwnerType::InvoiceName, 'title' => GetMessage('CRM_INVOICE_IN_WORK_PRESET_OVERALL_SUM_OWED'), 'listTitle' => GetMessage('CRM_INVOICE_IN_WORK_PRESET_OVERALL_SUM_SHORT'), 'name' => self::TYPE_NAME.'::OVERALL_SUM_OWED', 'source' => self::TYPE_NAME, 'select' => array('name' => 'SUM_OWED_TOTAL', 'aggregate' => 'SUM'), 'format' => array('isCurrency' => 'Y', 'enableDecimals' => 'N'), 'context' => DataContext::FUND, 'category' => 'OWED' ) ); }