<?php return [
    'module_id' => 328,
    'module_name' => 'countries',
    'module_title' => 'Countries',
    'module_note' => 'Countries',
    'module_frontend_slug' => '',
    'module_author' => NULL,
    'module_created' => '2019-09-29 04:23:36',
    'module_desc' => NULL,
    'module_db' => 'countries',
    'module_db_key' => 'id',
    'module_type' => 'native',
    'module_config' => [
        'sql_select' => ' SELECT countries.* FROM countries ',
        'sql_where' => ' WHERE countries.id IS NOT NULL',
        'sql_group' => '',
        'table_db' => 'countries',
        'primary_key' => 'id',
        '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' => 'Countries',
            'format' => 'grid',
            'display' => 'horizontal',
        ],
        'grid' => [
            [
                'field' => 'id',
                'alias' => 'countries',
                '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' => 'name',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Name',
                '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' => 'dial_code',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Dial Code',
                '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' => '',
            ],
            [
                'field' => 'code',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Code',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '3',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'for_otp',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'For OTP',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '4',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => 'switch',
                'format_value' => '',
            ],
            [
                'field' => 'active',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Active',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '5',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => 'switch',
                'format_value' => '',
            ],
            [
                'field' => 'default_currency',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Default Currency',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '6',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'valid_prefixes',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Valid Prefixes',
                'view' => 0,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '7',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => 'switch',
                'format_value' => '',
            ],
            [
                'field' => 'valid_length',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Valid Length',
                'view' => 0,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '8',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ]
        ],
        'forms' => [
            [
                'field' => 'id',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Id',
                'form_group' => '0',
                'required' => '1',
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'hidden',
                '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' => 'name',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Name',
                'form_group' => '0',
                'required' => '1',
                'default' => '',
                'validations' => 'maxlength="255"',
                'view' => 1,
                'type' => 'lang',
                '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' => '1',
                    'is_ajax' => '1',
                ],
            ],
            [
                'field' => 'dial_code',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Dial Code',
                'form_group' => '0',
                'required' => '1',
                'default' => '',
                'validations' => 'maxlength="10"',
                'view' => 1,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '2',
                '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' => 'countries',
                'language' => [
                ],
                'label' => 'Code',
                'form_group' => '0',
                'required' => '1',
                'default' => '',
                'validations' => 'maxlength="2"',
                'view' => 1,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '3',
                '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' => 'for_otp',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'For OTP',
                'form_group' => '0',
                'required' => '1',
                'default' => '0',
                'validations' => '',
                'view' => 1,
                'type' => 'switch',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '4',
                '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' => 'active',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Active',
                'form_group' => '0',
                'required' => '1',
                'default' => '0',
                'validations' => '',
                'view' => 1,
                'type' => 'switch',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '5',
                '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' => 'default_currency',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Default Currency',
                'form_group' => '0',
                'required' => '1',
                'default' => '0',
                'validations' => '',
                'view' => 1,
                'type' => 'select',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '6',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                'option' => [
                    'opt_type' => 'external',
                    'lookup_query' => '',
                    'lookup_table' => 'currencies',
                    'lookup_key' => 'iso_code',
                    'lookup_value' => 'name',
                    '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' => 'valid_prefixes',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Valid Prefixes',
                'form_group' => '0',
                'required' => '1',
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'json_editor',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '7',
                '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' => 'valid_length',
                'alias' => 'countries',
                'language' => [
                ],
                'label' => 'Valid Length',
                'form_group' => '0',
                'required' => '1',
                'default' => '',
                'validations' => 'maxlength="10"',
                'view' => 1,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '8',
                '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',
                ],
            ]
        ],
    ],
    'module_lang' => NULL,
];