<%@language = "javascript" %>
<% /*
    $Revision$
    $Id$

    File:           ctr_discipline.asp

    Description:    fac_management aanroep van model_ctr_discipline

    Context:

    Notes:
*/
%>
<!-- #include file="../scf/scaffolding.inc" -->
<!-- #include file="../api2/model_ctr_discipline.inc" -->
<%
var this_model = new model_ctr_discipline();

scaffolding(this_model,
    {
        "search": {
            "autosearch": true
        },
        "list": {
            "columns": [
                "id",
                "name",
                "inspection_type",
                "ismjob",
                "stdmelding"
            ]
        },
        "show": {
            "requires": {
                "js": ["./mgt_tools.js"]
            },
            "buttons": [
                {
                    "title": L("lcl_lcl_terminologie"),
                    "action": "edit_terminologie",
                    "icon": "fa-language"
                }
            ]
        },
        "edit": {
            "requires": {
                "js": ["./ins_discipline.js"]
            }
        },
        "layout": {
            "miscellaneous": {
                "icon": "fa-tags"
            }
        },
        "wrap": {
            "frames": [
                {
                    url: "fac_functie.asp?mode=list&ins_discipline={0}",
                    title: L("fac_functie_m"),
                    autfunction: "WEB_PRSSYS"
                }
            ]
        }
    });
%>
<% ASPPAGE_END(); %>
