{
    "reportPanel": "true",
    "reportTitle": "Staff Report ",
    "singleDateFilter": "true",
    "dataSource": {
        "queryFunction": "Cmshelper::getStaffAllotmentQuery"
    },
    "export": "true",
    "keyColumn": "user_id",
    "listColumns": [
        "staff_name",
        "allocated_hours",
        "unallocated_hours",
        "details"
    ],
    "exportColumns": [
        "staff_name",
        "allocated_hours",
        "unallocated_hours",
        "details"
    ],
    "detailColumns": [
        "staff_name",
        "allocated_hours",
        "unallocated_hours",
        "details"
    ],
    "columns": {
        "staff_name": {
            "name": "Name",
            "type": "text",
            "defaultText": "Admin",
            "sortable": "true",
            "searchable": "searchable"
        },
        "allocated_hours": {
            "name": "Allocated Hours",
            "defaultText": "0",
            "type": "text"
        },
        "unallocated_hours": {
            "name": "Unallocated Hours",
            "defaultText": "0",
            "type": "text"
        },
        "details": {
            "name": "Allotment Details",
            "customColumn": "true",
            "customaction": "Cmshelper::getDetailsTask"
        }
    }
}