...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_quote.php
- Класс: \CAllCrmQuote
- Вызов: CAllCrmQuote::GetFieldCaption
static function GetFieldCaption($fieldName) { $result = GetMessage("CRM_QUOTE_FIELD_{$fieldName}"); if ($fieldName === 'MYCOMPANY_ID') { $result = GetMessage("CRM_QUOTE_FIELD_{$fieldName}1"); } if (!(is_string($result) && $result !== '')) { $result = GetMessage("CRM_QUOTE_FIELD_{$fieldName}_MSGVER_1"); } if (!(is_string($result) && $result !== '')) { $result = GetMessage("CRM_QUOTE_FIELD_{$fieldName}_MSGVER_2"); } if ( !(is_string($result) && $result !== '') && Crm\Service\ParentFieldManager::isParentFieldName($fieldName) ) { $entityTypeId = Crm\Service\ParentFieldManager::getEntityTypeIdFromFieldName($fieldName); $result = \CCrmOwnerType::GetDescription($entityTypeId); } return is_string($result) ? $result : ''; }