RWSN#35799 Filter op or ipv and of evt een tracking Udr

svn path=/Website/trunk/; revision=32498
This commit is contained in:
Erik Groener
2017-01-23 15:39:00 +00:00
parent f55a9fa2f0
commit 6d635b397e
3 changed files with 24 additions and 8 deletions

View File

@@ -30,10 +30,11 @@ function model_reportsx(usrrap_key, rapparams)
"description" : { dbs: "fac_usrrap_info", typ: "varchar", label: L("lcl_usrrap_info"), filter: "like", translate: true },
"viewname" : { dbs: "fac_usrrap_view_name", typ: "varchar", label: L("lcl_usrrap_viewname"), filter: "like", required: true },
"authorization": { dbs: "fac_functie_key", typ: "key", label: L("lcl_usrrap_functie"), foreign: "fac_functie"},
"cond" : { dbs: "fac_usrrap_cond", typ: "number", label: L("lcl_usrrap_showcondition"),
required: true, defaultvalue: 0, LOV: L("lcl_usrrap_showconditionLOV")},
"group" : { dbs: "fac_usrrap_groep", typ: "varchar", label: L("lcl_usrrap_groep"), filter: "like" },
"styling" : { dbs: "fac_usrrap_functie", typ: "key", label: L("lcl_usrrap_styling"),
LOV: L("lcl_usrrap_stylingLOV") }, // 0;on-gestylede;1;gestylede;2;procedure;3;procedure gestyled;8;Via tabelizer;16;mobile;32;UDR Template
"urllink" : { dbs: "fac_usrrap_urllink", typ: "varchar", label: L("lcl_usrrap_urllink")},
"autorefresh" : { dbs: "fac_usrrap_autorefresh", typ: "check", label: L("lcl_usrrap_autorefresh")},
"count" : { dbs: "fac_usrrap_count", typ: "number", label: L("lcl_usrrap_showcount"),
@@ -264,6 +265,7 @@ function model_reportsx(usrrap_key, rapparams)
this.fields["ratio"].readonly = true; // denk ik dan
this.fields["pivot"].readonly = true;
this.fields["graph"].readonly = true;
this.fields["cond"].readonly = true;
}
if (!user.checkAutorisation("WEB_UDRMAN", true))
{ // Dit heeft betrekking op de zoekvelden van appl/fac/fac_reportx_show.asp?mode=search