...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_invoice.php
- Класс: \CAllCrmInvoice
- Вызов: CAllCrmInvoice::GetFieldCaption
static function GetFieldCaption($fieldName) { if($fieldName === 'CURRENCY_ID') { $fieldName = 'CURRENCY'; } elseif($fieldName === 'LOCATION_ID') { $fieldName = 'PR_LOCATION'; } $result = GetMessage("CRM_INVOICE_FIELD_{$fieldName}"); return is_string($result) ? $result : ''; }