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

    File:           cnt_kenmerk.asp

    Description:    fac_management aanroep van model_cnt_kenmerk

    Context:

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

scaffolding(this_model,
    {
        "search": {
            "autosearch": true,
            "filters": [
                "contractpropertydesc",
                "contractpropertytype",
                "contractdiscipline",
                "attributetypehide"
            ],
            "transit": [
                "contractpropertytype",
                "contractdiscipline",
                "attributetypehide"
            ]
        },
        "list": {
            "columns": [
                "contractdiscipline",
                "sequence",
                "contractpropertytype",
                "contractpropertydesc",
                "rolecode",
                "attributetypehide",
                "authorization",
                "code",
                "id"
            ],
            "orderby": [
                "contractdiscipline",
                "sequence",
                "contractpropertydesc"
            ]
        },
        "edit": {
            "requires": {
                "js": [
                    "./cnt_kenmerk.js"
                ]
            }
        },
        "layout": {
            "block": [
                {
                    "blockid": "cntKenmerkAlgemeen",
                    "label": L("mgt_kenmerk"),
                    "icon": "fa-table-tree",
                    "ishtmlsafe": true,
                    "hidden": false,
                    "buttons": [],
                    "fields": [
                        "id",
                        "contractpropertytype",
                        "attributetypehide",  // die zouden we overal wel willen
                        "contractpropertydesc",
                        "contractdiscipline",
                        "rolecode",
                        "group",
                        "sequence",
                        "propertydefault",
                        "hint",
                        "regexp",
                        "code"
                    ]
                },
                {
                    "blockid": "cntKenmerkFormat",
                    "label": L("mgt_kenmerk_displayprops"),
                    "icon": "fa-face-viewfinder",
                    "ishtmlsafe": true,
                    "hidden": false,
                    "buttons": [],
                    "fields": [
                        "required",
                        "authorization",
                        "showexpression",
                        "readonly"
                    ]
                }
            ]
        },
        "print": {}
    });
%>
<% ASPPAGE_END(); %>
