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

    File:           mld_vrije_dagen.asp

    Description:    fac_management aanroep van model_mld_vrije_dagen

    Context:

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

scaffolding(this_model,
    {
        "search": {
            "autosearch": true,
            "filters": [
                "calendar",
                "year",
                "_dayoff"
            ]

        },
        "list": {
            "requires": {
                    "js": ["../mgt/mld_vrije_dagen.js"]
            },
            "columns": [
                "id",
                "year",
                "name",
                "dayoff"
            ],
            "buttons": [
                { icon: "fa-copy", title: L("lcl_mld_copy"), action: "copy_vrije_dagen()"}
            ]
        },
        "edit": {
            "requires": {
                    "js": ["../mgt/mld_vrije_dagen.js"]
            }
        },
        "layout": {
            "block": [
                {   "blockid": "mldVrij",
                    "label": L("mld_vrije_dagen"),
                    "icon": "fa-umbrella-beach",
                    "hidden": false,
                    "fields": [
                        "dayoff",
                        "calendar",
                        "name"
                    ]
                },
                {   "blockid": "mldHidden",
                    "label": L("lcl_mld_hidden_fields"),
                    "hidden": true,
                    "fields": [
                    //    "calendar",
                        "year"
                    ]
                }
            ]
        }
    });
%>
<% ASPPAGE_END(); %>
