<?php return [
    'module_id' => 356,
    'module_name' => 'fraudrules',
    'module_title' => 'Fraud Rules',
    'module_note' => 'fraud rules',
    'module_frontend_slug' => '',
    'module_author' => NULL,
    'module_created' => '2019-09-10 05:53:35',
    'module_desc' => NULL,
    'module_db' => 'fraud_rules',
    'module_db_key' => 'id',
    'module_type' => 'native',
    'module_config' => [
        'sql_select' => ' SELECT fraud_rules.* FROM fraud_rules ',
        'sql_where' => ' WHERE fraud_rules.id IS NOT NULL',
        'sql_group' => '',
        'table_db' => 'fraud_rules',
        'primary_key' => 'id',
        'setting' => [
            'gridtype' => '',
            'orderby' => 'id',
            'ordertype' => 'DESC',
            'perpage' => '50',
            'frozen' => 'false',
            'form-method' => 'native',
            'view-method' => 'native',
            'inline' => 'false',
        ],
        'grid' => [
            [
                'field' => 'id',
                'alias' => 'fraud_rules',
                'label' => 'Id',
                'language' => [
                ],
                'search' => '1',
                'download' => '1',
                'align' => 'left',
                'view' => 0, 'detail' => '1',
                'sortable' => '1',
                'frozen' => '0',
                'hidden' => '0',
                'sortlist' => 0, 'width' => '100',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'name',
                'alias' => 'fraud_rules',
                'label' => 'Name',
                'language' => [
                ],
                'search' => '1',
                'download' => '1',
                'align' => 'left',
                'view' => 1, 'detail' => '1',
                'sortable' => '1',
                'frozen' => '0',
                'hidden' => '0',
                'sortlist' => 1, 'width' => '100',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'status',
                'alias' => 'fraud_rules',
                'label' => 'Status',
                'language' => [
                ],
                'search' => '1',
                'download' => '1',
                'align' => 'left',
                'view' => 1, 'detail' => '1',
                'sortable' => '1',
                'frozen' => '0',
                'hidden' => '0',
                'sortlist' => 8, 'width' => '100',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => 'switch',
                'format_value' => '',
            ],
            [
                'field' => 'last_run_date',
                'alias' => 'fraud_rules',
                'label' => 'Last Run Date',
                'language' => [
                ],
                'search' => '1',
                'download' => '1',
                'align' => 'left',
                'view' => 0, 'detail' => '1',
                'sortable' => '1',
                'frozen' => '0',
                'hidden' => '0',
                'sortlist' => 11, 'width' => '100',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
        ],
        'forms' => [
            [
                'field' => 'id',
                'alias' => 'fraud_rules',
                'label' => 'Id',
                'language' => [
                ],
                'required' => 1, 'unique' => 0, 'default' => NULL, 'validations' => '',
                'view' => '1',
                'type' => 'hidden',
                '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' => 'name',
                'alias' => 'fraud_rules',
                'label' => 'Name',
                'language' => [
                ],
                'required' => 1, 'unique' => 0, 'default' => NULL, 'validations' => 'maxlength="191"',
                'view' => '1',
                'type' => 'text',
                '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' => 'store_ids',
                'alias' => 'fraud_rules',
                'label' => 'Store Ids',
                'language' => [
                ],
                'required' => 1, 'unique' => 0, 'default' => NULL, 'validations' => '',
                'view' => '1',
                'type' => 'lang',
                '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,
                ],
            ],
            [
                'field' => 'order_count',
                'alias' => 'fraud_rules',
                'label' => 'Order Count',
                'language' => [
                ],
                'required' => 0, 'unique' => 0, 'default' => NULL, 'validations' => '',
                'view' => '1',
                'type' => 'text_number',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 3, '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' => 'order_count_per',
                'alias' => 'fraud_rules',
                'label' => 'Order Count Per',
                'language' => [
                ],
                'required' => 0, 'unique' => 0, 'default' => NULL, 'validations' => '',
                'view' => '1',
                'type' => 'radio',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 4, 'form_group' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => 'per_day:Per_day|per_week:Per_week|per_month:Per_month',
                    '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' => 'total_order_amount',
                'alias' => 'fraud_rules',
                'label' => 'Total Order Amount',
                'language' => [
                ],
                'required' => 0, 'unique' => 0, 'default' => NULL, 'validations' => '',
                'view' => '1',
                'type' => 'text',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 5, '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' => 'total_order_amount_per',
                'alias' => 'fraud_rules',
                'label' => 'Total Order Amount Per',
                'language' => [
                ],
                'required' => 0, 'unique' => 0, 'default' => NULL, 'validations' => '',
                'view' => '1',
                'type' => 'radio',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 6, 'form_group' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => 'per_day:Per_day|per_week:Per_week|per_month:Per_month',
                    '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' => 'action',
                'alias' => 'fraud_rules',
                'label' => 'Action',
                'language' => [
                ],
                'required' => 1, 'unique' => 0, 'default' => NULL, 'validations' => '',
                'view' => '1',
                'type' => 'text',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 7, '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' => 'status',
                'alias' => 'fraud_rules',
                'label' => 'Status',
                'language' => [
                ],
                'required' => 1, 'unique' => 0, 'default' => '1',
                'validations' => '',
                'view' => '1',
                'type' => 'switch',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 8, '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' => 'effective_from',
                'alias' => 'fraud_rules',
                'label' => 'Effective From',
                'language' => [
                ],
                'required' => 1, 'unique' => 0, 'default' => NULL, 'validations' => '',
                'view' => '1',
                'type' => 'text',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 9, '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' => 'effective_to',
                'alias' => 'fraud_rules',
                'label' => 'Effective To',
                'language' => [
                ],
                'required' => 0, 'unique' => 0, 'default' => NULL, 'validations' => '',
                'view' => '1',
                'type' => 'text',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 10, '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' => 'last_run_date',
                'alias' => 'fraud_rules',
                'label' => 'Last Run Date',
                'language' => [
                ],
                'required' => 0, 'unique' => 0, 'default' => NULL, 'validations' => '',
                'view' => '1',
                'type' => 'text',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 11, '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' => 'created_at',
                'alias' => 'fraud_rules',
                'label' => 'Created At',
                'language' => [
                ],
                'required' => 0, 'unique' => 0, 'default' => NULL, 'validations' => '',
                'view' => '1',
                'type' => 'update_timestamp',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 12, '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' => 'updated_at',
                'alias' => 'fraud_rules',
                'label' => 'Updated At',
                'language' => [
                ],
                'required' => 0, 'unique' => 0, 'default' => NULL, 'validations' => '',
                'view' => '1',
                'type' => 'update_timestamp',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 13, '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,
];
