<?php return [
    'module_id' => 345,
    'module_name' => 'registrationcodes',
    'module_title' => 'registration Codes',
    'module_note' => 'registration Codes',
    'module_frontend_slug' => '',
    'module_author' => NULL,
    'module_created' => '2019-09-10 06:01:38',
    'module_desc' => NULL,
    'module_db' => 'registration_codes',
    'module_db_key' => 'id',
    'module_type' => 'native',
    'module_config' => [
        'table_db' => 'registration_codes',
        'primary_key' => 'id',
        'sql_select' => ' SELECT registration_codes.* FROM registration_codes ',
        'sql_where' => ' WHERE registration_codes.id IS NOT NULL',
        'sql_group' => '',
        'setting' => [
            'gridtype' => '',
            'orderby' => 'id',
            'ordertype' => 'DESC',
            'perpage' => '50',
            'frozen' => 'false',
            'form-method' => 'native',
            'view-method' => 'native',
            'inline' => 'false',
        ],
        'form_column' => 1,
        'form_layout' => [
            'column' => 1,
            'title' => 'Registration code',
            'format' => 'grid',
            'display' => 'vertical',
        ],
        'forms' => [
            [
                'field' => 'id',
                'alias' => 'registration_codes',
                'language' => [
                ],
                'label' => 'ID',
                'form_group' => '0',
                'required' => '0',
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'hidden',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '1',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '1',
                ],
            ],
            [
                'field' => 'code',
                'alias' => 'registration_codes',
                'language' => [
                ],
                'label' => 'Code',
                'form_group' => '0',
                'required' => 1,
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '0',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '1',
                ],
            ],
            [
                'field' => 'bonus_amount',
                'alias' => 'registration_codes',
                'label' => 'Bonus Amount',
                'form_group' => '0',
                'required' => '1',
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'text_number',
                'add' => 1,
                'edit' => 1,
                'search' => '',
                'size' => '',
                'sortlist' => '2',
                'limited' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '1',
                ],
            ],
            [
                'field' => 'bonus_qualifying_amount',
                'alias' => 'registration_codes',
                'label' => 'Bonus Qualifying Amount',
                'form_group' => '0',
                'required' => '1',
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'text_number',
                'add' => 1,
                'edit' => 1,
                'search' => '',
                'size' => '',
                'sortlist' => '2',
                'limited' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '1',
                ],
            ],
            [
                'field' => 'status',
                'alias' => 'registration_codes',
                'language' => [
                ],
                'label' => 'Status',
                'form_group' => '0',
                'required' => 0,
                'default' => 'active',
                'validations' => '',
                'view' => 1,
                'type' => 'switch',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '13',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => 'active:Active|inactive:Inactive',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'lookup_where_clause' => '',
                    'path_to_upload' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '1',
                ],
            ],
            [
                'field' => 'active_from',
                'alias' => 'registration_codes',
                'label' => 'active_from',
                'form_group' => '0',
                'required' => '1',
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'text_datetime',
                'add' => 1,
                'edit' => 1,
                'search' => '',
                'size' => '',
                'sortlist' => '2',
                'limited' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '1',
                ],
            ],
            [
                'field' => 'active_to',
                'alias' => 'registration_codes',
                'label' => 'active_to',
                'form_group' => '0',
                'required' => '0',
                'default' => null,
                'validations' => '',
                'view' => 1,
                'type' => 'text_datetime',
                'add' => 1,
                'edit' => 1,
                'search' => '',
                'size' => '',
                'sortlist' => '2',
                'limited' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '1',
                ],
            ],
        ],
        'grid' => [
            [
                'field' => 'id',
                'alias' => 'registration_codes',
                'language' => [
                ],
                'label' => 'ID',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '10',
                'align' => 'left',
                'sortlist' => '1',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'code',
                'alias' => 'registration_codes',
                'language' => [
                ],
                'label' => 'Code',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '20',
                'align' => 'left',
                'sortlist' => '1',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'bonus_amount',
                'alias' => 'registration_codes',
                'language' => [
                ],
                'label' => 'Bonus Amount',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '11',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'bonus_qualifying_amount',
                'alias' => 'registration_codes',
                'language' => [
                ],
                'label' => 'Bonus Qualifying Amount',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '11',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'status',
                'alias' => 'registration_codes',
                'language' => [
                ],
                'label' => 'Status',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '11',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => 'switch',
                'format_value' => '',
            ],
            [
                'field' => 'local_active_from',
                'alias' => 'registration_codes',
                'language' => [
                ],
                'label' => 'Active from',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '12',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => 'local_timestamp',
                'format_value' => 'Africa/Cairo',
            ],
            [
                'field' => 'local_active_to',
                'alias' => 'registration_codes',
                'language' => [
                ],
                'label' => 'Active To',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '12',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => 'local_timestamp',
                'format_value' => 'Africa/Cairo',
            ],
            [
                'field' => 'usage_count',
                'alias' => 'registration_codes',
                'language' => [
                ],
                'label' => 'Total Usages',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '13',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
        ],
    ],
    'module_lang' => NULL,
];