{
    "controller": "controllers/record",
    "boolFilterList": [
        "onlyMy"
    ],
    "iconClass": "fas fa-money-check-alt",
    "dynamicHandler": "walletncredit:views/top-up-dynamic-handler",
    "dynamicLogic": {
        "fields": {
            "status": {
                "readOnly": {
                    "conditionGroup": [
                        {
                            "type": "in",
                            "attribute": "status",
                            "value": [
                                "Draft",
                                "Revision"
                            ]
                        }
                    ]
                }
            },
            "assignedUser": {
                "readOnly": {
                    "conditionGroup": [
                        {
                            "type": "notIn",
                            "attribute": "status",
                            "value": [
                                "Draft",
                                "Revision"
                            ]
                        }
                    ]
                }
            },
            "type": {
                "readOnly": {
                    "conditionGroup": [
                        {
                            "type": "notIn",
                            "attribute": "status",
                            "value": [
                                "Draft",
                                "Revision"
                            ]
                        }
                    ]
                }
            },
            "teams": {
                "readOnly": {
                    "conditionGroup": [
                        {
                            "type": "notIn",
                            "attribute": "status",
                            "value": [
                                "Draft",
                                "Revision"
                            ]
                        }
                    ]
                }
            },
            "account": {
                "readOnly": {
                    "conditionGroup": [
                        {
                            "type": "notIn",
                            "attribute": "status",
                            "value": [
                                "Draft",
                                "Revision"
                            ]
                        }
                    ]
                }
            },
            "amount": {
                "readOnly": {
                    "conditionGroup": [
                        {
                            "type": "notIn",
                            "attribute": "status",
                            "value": [
                                "Draft",
                                "Revision"
                            ]
                        }
                    ]
                }
            },
            "description": {
                "readOnly": {
                    "conditionGroup": [
                        {
                            "type": "notIn",
                            "attribute": "status",
                            "value": [
                                "Draft",
                                "Revision"
                            ]
                        }
                    ]
                }
            }
        },
        "options": {
            "status": [
                {
                    "optionList": [
                        "Approved",
                        "Revision"
                    ],
                    "conditionGroup": [
                        {
                            "type": "equals",
                            "attribute": "status",
                            "value": "Approved"
                        }
                    ]
                },
                {
                    "optionList": [
                        "In Progress",
                        "Revision"
                    ],
                    "conditionGroup": [
                        {
                            "type": "equals",
                            "attribute": "status",
                            "value": "In Progress"
                        }
                    ]
                },
                {
                    "optionList": [
                        "Rejected",
                        "Revision"
                    ],
                    "conditionGroup": [
                        {
                            "type": "equals",
                            "attribute": "status",
                            "value": "Rejected"
                        }
                    ]
                }
            ]
        }
    },
    "relationshipPanels": {
        "account": {
            "layout": null
        }
    }
}