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

    File:           fac_notificatiejob.asp

    Description:    fac_management aanroep van model_fac_notificatiejob

    Context:

    Notes:
*/
%>
<!-- #include file="../scf/scaffolding.inc" -->
<!-- #include file="../api2/model_fac_notificatie_job.inc" -->
<%
var niveau = getQParam("niveau", "J"); // J voor Jobs, S voor Scheduled mail

var this_model = new model_fac_notificatie_job({niveau: niveau});

var scf_params =
    {
        "search": {
            "autosearch": true
        },
        "list": {
            "columns": [
                "id",
                "name",
                "lastrun",
                "interval",
                "nextrun"
            ]
        },
        "layout": {
            "miscellaneous": {
                "icon": "fa-arrows-spin"
            }
        },
        "transit": { "niveau": niveau }
    }
if (niveau == "S")
{
    scf_params.list.columns.push("person", "receiver");
}
else
{
    scf_params.list.columns.push("jobmode", "view");
}
scaffolding(this_model, scf_params);
%>
<% ASPPAGE_END(); %>
