FSN#33498 Filters voor userraps zijn niet uit te zetten via de interface
svn path=/Website/trunk/; revision=25994
This commit is contained in:
@@ -51,6 +51,8 @@ function model_reportcolumns(usrrap_key, params)
|
|||||||
this.hook_pre_edit = function (obj)
|
this.hook_pre_edit = function (obj)
|
||||||
{
|
{
|
||||||
this.fields.filter.LOV = api2.filterLOV(L("lcl_rap_filterLOV"), "A,E,R"); // De meesten mogen L(ike) niet
|
this.fields.filter.LOV = api2.filterLOV(L("lcl_rap_filterLOV"), "A,E,R"); // De meesten mogen L(ike) niet
|
||||||
|
if (obj.datatype)
|
||||||
|
{
|
||||||
switch (obj.datatype.id)
|
switch (obj.datatype.id)
|
||||||
{
|
{
|
||||||
case "date":
|
case "date":
|
||||||
@@ -81,6 +83,7 @@ function model_reportcolumns(usrrap_key, params)
|
|||||||
default:
|
default:
|
||||||
this.fields.group.LOV = api2.filterLOV(L("lcl_rap_groupbyLOV"), "G");
|
this.fields.group.LOV = api2.filterLOV(L("lcl_rap_groupbyLOV"), "G");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Maakt de default fac_usrrap_cols records aan aan de hand van de view of werk ze bij
|
// Maakt de default fac_usrrap_cols records aan aan de hand van de view of werk ze bij
|
||||||
|
|||||||
Reference in New Issue
Block a user