FSN#35498 UDR: kolom-expressies mogelijk maken

svn path=/Website/trunk/; revision=30049
This commit is contained in:
Erik Groener
2016-07-14 09:47:31 +00:00
parent e9d9fbc2e9
commit 6de2c10f44
4 changed files with 28 additions and 12 deletions

View File

@@ -110,9 +110,13 @@ function model_reportsx(usrrap_key, rapparams)
this.hook_pre_edit = function (obj)
{
this.fields.styling.LOV = api2.filterLOV(L("lcl_usrrap_stylingLOV"), "0,1,2,3,8,16"); // De meesten mogen L(ike) niet
this.fields.graph_type.LOV = "0;;" + this.fields.graph_type.LOV; // 0 is ook een geldige waarde --> toevoegen aan LOV in lcl_usrrap_graphtypeLOV
this.fields.graph_type.LOV = api2.filterLOV(this.fields.graph_type.LOV, "0,1,3,4"); // dashboard nu nog even niet.
if (obj.graph.id > 0)
{
this.fields.graph_type.LOV = this.fields.graph_type.LOV.substring(3);
this.fields.graph_type.LOV = api2.filterLOV(this.fields.graph_type.LOV, "1,3,4"); // dashboard nu nog even niet.
}
};
this.REST_GET = function _reportsx_GET(params, jsondata)