<%@language = "javascript" %>

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

<%
    scaffolding(new model_res_activiteit(),
        {
            "search": {
                "autosearch": true,
                "filters": [
                    "bookingactivitytypes",
                    "disciplines.res_discipline_key",
                    "name"
                ],
                "transit": [
                    "bookingactivitytypes"
                ]
            },
            "list" : {
                "columns": [
                    "id",
                    "name",
                    "bookingactivitytypes",
                    "sequence",
                    "duration",
                    "posttime",
                    "hasendtime",
                    "descriptionmandatory",
                    "visitorsmandatory",
                    "notfrontend",
                    "ismaster",
                    "deliverymode",
                    "limitdays",
                    "limitdaysfe",
                    "image"
                ]
            },
            "edit": {
                "requires": {
                    "js": [
                        "../mgt/res_activiteit.js"
                    ]
                }
            },
            "layout": {
                "miscellaneous": {
                    "icon": "fa-thought-bubble"
                }
            }
        });
%>
<% ASPPAGE_END(); %>
