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

    File:           bgt_discipline.asp

    Description:    fac_management aanroep van model_bgt_discipline

    Context:

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

scaffolding(this_model,
    {
        "search": {
            "autosearch": true,
            "filters": [
                "name"
            ]
        },
        "list": {
            "columns": [
                "code",
                "name",
                "customer",
                "startdate",
                "vat"
            ]
        },
        "edit": {
            "requires": {
                js: ["../mgt/ins_discipline.js"]
            }
        },
        "show": {
            "requires": {
                "js": ["../mgt/mgt_tools.js"]
            },
            "buttons": [
                {
                    "title": L("lcl_lcl_terminologie"),
                    "action": "edit_terminologie",
                    "icon": "fa-language"
                }
            ]
        },
        "wrap": {
            "frames": [
                {
                    url: "../bgt/bgt_project.asp?mode=list&budgetdiscipline={0}",
                    title: L("bgt_project_m"),
                    autfunction: "WEB_BGTMAN"
                }
            ]
        }
    });
%>
<% ASPPAGE_END(); %> 
