...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/integration/documentgenerator/dataprovider/invoice.php
- Класс: Bitrix\Crm\Integration\DocumentGenerator\DataProvider\Invoice
- Вызов: Invoice::getFields
public function getFields() { if($this->fields === null) { parent::getFields(); Loc::loadMessages(__FILE__); $this->fields['USER_DESCRIPTION']['TITLE'] = Loc::getMessage('CRM_DOCGEN_DATAPROVIDER_USER_DESCRIPTION_TITLE'); $this->fields['DEAL'] = [ 'PROVIDER' => Deal::class, 'VALUE' => 'UF_DEAL_ID', 'TITLE' => GetMessage('CRM_DOCGEN_DATAPROVIDER_INVOICE_DEAL_TITLE'), 'OPTIONS' => [ 'isLightMode' => true, ], ]; $this->fields['PRICE']['TYPE'] = Money::class; $this->fields['PRICE']['FORMAT'] = ['CURRENCY_ID' => $this->getCurrencyId()]; } return $this->fields; }