<?php return [
    'module_id' => 338,
    'module_name' => 'topcouponclicks',
    'module_title' => 'Top Coupon Clicks',
    'module_note' => 'Top Coupon Clicks',
    'module_frontend_slug' => '',
    'module_author' => NULL,
    'module_created' => '2020-01-07 11:53:51',
    'module_desc' => NULL,
    'module_db' => 'rep_clicks_coupons',
    'module_db_key' => '',
    'module_type' => 'report',
    'module_config' => [
        'sql_select' => ' SELECT rep_clicks_coupons.* FROM rep_clicks_coupons ',
        'sql_where' => '',
        'sql_group' => '',
        'table_db' => 'rep_clicks_coupons',
        'primary_key' => '',
        'grid' => [
            [
                'field' => 'id',
                'alias' => 'rep_clicks_coupons',
                'language' => [
                ],
                'label' => 'Id',
                'view' => 0,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '0',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'title',
                'alias' => 'rep_clicks_coupons',
                'language' => [
                ],
                'label' => 'Title',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '1',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => 'lang',
                'format_value' => '',
            ],
            [
                'field' => 'clicks',
                'alias' => 'rep_clicks_coupons',
                'language' => [
                ],
                'label' => 'Clicks',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '2',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
        ],
        'forms' => [
            [
                'field' => 'id',
                'alias' => 'rep_clicks_coupons',
                'label' => 'Id',
                'language' => [
                ],
                'required' => 1,
                'default' => '0',
                'validations' => 'maxlength="20"',
                'view' => '1',
                'type' => 'text',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 0,
                'form_group' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'lookup_where_clause' => '',
                    'path_to_upload' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => 0,
                    'is_ajax' => 1,
                ],
            ],
            [
                'field' => 'title',
                'alias' => 'rep_clicks_coupons',
                'label' => 'Title',
                'language' => [
                ],
                'required' => 1,
                'default' => NULL,
                'validations' => '',
                'view' => '1',
                'type' => 'lang',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 1,
                'form_group' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'lookup_where_clause' => '',
                    'path_to_upload' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => 0,
                    'is_ajax' => 1,
                ],
            ],
            [
                'field' => 'clicks',
                'alias' => 'rep_clicks_coupons',
                'label' => 'Clicks',
                'language' => [
                ],
                'required' => 1,
                'default' => '0',
                'validations' => 'maxlength="21"',
                'view' => '1',
                'type' => 'text',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 2,
                'form_group' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'lookup_where_clause' => '',
                    'path_to_upload' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => 0,
                    'is_ajax' => 1,
                ],
            ],
        ],
    ],
    'module_lang' => NULL,
];