<?php

use Assist\Pay\Helper;
use Bitrix\Main\Localization\Loc;

Loc::loadMessages(dirname(__FILE__) . '/options.php');

return [
    'edit1' => [
        'TAB_NAME' => Loc::getMessage('ASSIST_PAY_TAB_SETTINGS'),
        'TAB_TITLE' => Loc::getMessage('ASSIST_PAY_TAB_TITLE_SETTINGS'),
        'ICON' => '',
        'options' => [
            [
                'type' => 'text',
                'name' => 'title',
                'title' => Loc::getMessage('ASSIST_PAY_SETTING_TITLE'),
                'value' => Loc::getMessage('ASSIST_PAY_SETTING_TITLE_DEFAULT_VALUE'),
            ],
            [
                'type' => 'text',
                'name' => 'name',
                'title' => Loc::getMessage('ASSIST_PAY_SETTING_NAME'),
                'value' => Loc::getMessage('ASSIST_PAY_SETTING_NAME_DEFAULT_VALUE'),
            ],
            [
                'type' => 'text',
                'name' => 'description',
                'title' => Loc::getMessage('ASSIST_PAY_SETTING_DESCRIPTION'),
                'value' => Loc::getMessage('ASSIST_PAY_SETTING_DESCRIPTION_DEFAULT_VALUE'),
            ],
            [
                'type' => 'checkbox',
                'name' => 'isLogsEnabled',
                'title' => Loc::getMessage('ASSIST_PAY_IS_ENABLE_LOGS'),
                'value' => 'N'
            ],
        ]
    ]
];
