- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/filter/terminalpaymentprovider.php
- Класс: Bitrix\Crm\Filter\TerminalPaymentProvider
- Вызов: TerminalPaymentProvider::getGridColumns
public function getGridColumns(): array
{
return [
[
'id' => 'ACCOUNT_NUMBER',
'name' => Main\Localization\Loc::getMessage('CRM_TERMINAL_PAYMENT_PROVIDER_ACCOUNT_NUMBER'),
'sort' => 'ACCOUNT_NUMBER',
'default' => true,
],
[
'id' => 'SUM',
'name' => Main\Localization\Loc::getMessage('CRM_TERMINAL_PAYMENT_PROVIDER_SUM'),
'sort' => 'SUM',
'default' => true,
'align' => 'right',
],
[
'id' => 'DATE_PAID',
'name' => Main\Localization\Loc::getMessage('CRM_TERMINAL_PAYMENT_PROVIDER_DATE_PAID'),
'sort' => 'DATE_PAID',
'default' => true,
],
[
'id' => 'PAY_SYSTEM_NAME',
'name' => Main\Localization\Loc::getMessage('CRM_TERMINAL_PAYMENT_PROVIDER_PAY_SYSTEM_NAME'),
'sort' => 'PAY_SYSTEM_NAME',
'default' => true,
],
[
'id' => 'PAID',
'name' => Main\Localization\Loc::getMessage('CRM_TERMINAL_PAYMENT_PROVIDER_PAID'),
'sort' => 'PAID',
'default' => true,
'type' => Main\Grid\Column\Type::LABELS,
],
'CLIENT' => [
'id' => 'CLIENT',
'name' => Main\Localization\Loc::getMessage('CRM_TERMINAL_PAYMENT_PROVIDER_CLIENT'),
'default' => true,
'sort' => false,
],
'RESPONSIBLE_ID' => [
'id' => 'RESPONSIBLE_ID',
'name' => Main\Localization\Loc::getMessage('CRM_TERMINAL_PAYMENT_PROVIDER_RESPONSIBLE'),
'default' => true,
'sort' => 'RESPONSIBLE_ID',
],
[
'id' => 'MARKED',
'name' => Main\Localization\Loc::getMessage('CRM_TERMINAL_PAYMENT_PROVIDER_MARKED'),
'sort' => 'MARKED',
'default' => false,
'type' => Main\Grid\Column\Type::LABELS,
],
];
}