<%@language = "javascript" %>

<!-- #include file="../scf/scaffolding.inc" -->
<!-- #include file="../api2/model_prs_ruimteafdeling.inc" -->

<%
    var room_key = getQParamInt("room", -1);
    scaffolding(new model_prs_ruimteafdeling(),
        {
            "search": {
                "autosearch": true,
                "filters": [
                    "department",
                    "room",
                    "startdate",
                    "enddate"
                ]
            },
            "list" : {
                "columns": [
                    "company",
                    "departmentcode",
                    "department",
                    "responsible",
                    "occupation",
                    "startdate",
                    "enddate"
                ]
            },
            "edit": {
                "modal": true
            },
            "transit": {
                "room": room_key
            },
            "layout": {
                "miscellaneous": {
                    "icon": "fa-screen-users"
                }
            }
        });
%>
<% ASPPAGE_END(); %>
