<%@language = "javascript" %>

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

<%
var this_model = new model_ins_srtcontrole();

scaffolding(this_model,
    {
        "search": {
            "autosearch": true,
            "filters": [
                "level",
                "object_discipline",
                "object_group",
                "object_type",
                "inspection_type"
            ],
            "requires": {
                "js": [
                    "../mgt/srtinstallatieselector.js",
                    "../mgt/ins_srtcontrole.js",
                    "../mgt/mgt_tools.js"
                ]
            }
        },
        "list": {
            "columns": [
                "id",
                "level",
                "object_discipline",
                "object_group",
                "object_type",
                "name",
                "inspection_type",
                "period",
                "unit"
           ]
        },
        "edit": {
            "requires": {
                "js": [
                    "../mgt/srtinstallatieselector.js",
                    "../mgt/ins_srtcontrole.js",
                    "../mgt/mgt_tools.js"
                ]
            }
        }
    }
);
%>