RWSN#38671 Ratio (%) kolom in usrraps

svn path=/Website/trunk/; revision=31964
This commit is contained in:
Peter Feij
2016-12-14 09:32:50 +00:00
parent b42fe85ee5
commit 7d6ed65c9a
2 changed files with 19 additions and 2 deletions

View File

@@ -38,6 +38,8 @@ function model_reportsx(usrrap_key, rapparams)
"autorefresh" : { dbs: "fac_usrrap_autorefresh", typ: "check", label: L("lcl_usrrap_autorefresh")},
"count" : { dbs: "fac_usrrap_count", typ: "number", label: L("lcl_usrrap_showcount"),
required: true, defaultvalue: 1, LOV: L("lcl_usrrap_showcountLOV")}, // 0;Uit, verborgen;1;Uit, kiesbaar;2;Aan, verborgen;3;Aan, kiesbaar
"ratio" : { dbs: "fac_usrrap_ratio", typ: "number", label: L("lcl_usrrap_showratio"),
required: true, defaultvalue: 1, LOV: L("lcl_usrrap_showcountLOV")}, // 0;Uit, verborgen;1;Uit, kiesbaar;2;Aan, verborgen;3;Aan, kiesbaar
"pivot" : { dbs: "fac_usrrap_pivot", typ: "number", label: L("lcl_usrrap_showpivot"),
required: true, defaultvalue: 0, LOV: L("lcl_usrrap_showcountLOV")},
"graph" : { dbs: "fac_usrrap_graph", typ: "number", label: L("lcl_usrrap_showgraph"),
@@ -259,6 +261,7 @@ function model_reportsx(usrrap_key, rapparams)
if (S("fac_usrrap_mode") != 1)
{
this.fields["count"].readonly = true;
this.fields["ratio"].readonly = true; // denk ik dan
this.fields["pivot"].readonly = true;
this.fields["graph"].readonly = true;
}