FCLT#63646 Graphics 2022 fixjes

svn path=/Website/trunk/; revision=52997
This commit is contained in:
Peter Feij
2021-09-10 13:54:43 +00:00
parent fc92286b79
commit 6ebf702034

View File

@@ -9,6 +9,7 @@
highlight (optional list of room-keys to filter)
Context: -
Note: we hadden ook kunnen kiezen om mld_list aan te roepen. TODO Dat kan nog!
Ik kan me voorstellen dat hier de autorisaties goed gecheckt worden
*/%>
<!-- #include file="../Shared/common.inc" -->
@@ -17,8 +18,8 @@
<!-- #include file="FGII.inc" -->
<%
var floorKey = getQParamInt("vKey", -1);
var highlight_arr = getQParamIntArray("highlight", []); // Comma-separated room_key_list (terrains). Optional
var floorKey = getQParamInt("vKey", -1);
var highlight_arr = getQParamIntArray("highlight", []); // Comma-separated room_key_list (terrains). Optional
var outputmode = getQParamInt("outputmode", 0);
var showall = getQParamInt("showall", 0) == 1;
@@ -47,7 +48,7 @@ if (floorKey != -1)
+ (highlight_arr.length > 0 && highlight_arr.join(",").indexOf("-1") == -1
? " AND r.alg_ruimte_key IN (" + highlight_arr.join(",") + ")"
: "")
+ " AND m.mld_melding_status IN (2, 4, 7)"
+ " AND m.mld_melding_status NOT IN (1,5,6)"
+ " ORDER BY 1, 3 DESC";
}
else
@@ -83,10 +84,10 @@ else
});
rst.addColumn(new Column({caption: L("lcl_obj_inf_room"), content: "Ruimtenr"}));
rst.addColumn(new Column({caption: L("lcl_date_time"), content: "Datum", datatype: "datetime"}));
rst.addColumn(new Column({caption: L("lcl_date_time"), content: "Datum", datatype: "datetime", nowrap: true}));
rst.addColumn(new Column({caption: L("lcl_call_number"), content: "Nr"}));
rst.addColumn(new Column({caption: L("lcl_complain"), content: "Melding"}));
rst.addColumn(new Column({caption: L("lcl_status"), content: fncolStatus}));
rst.addColumn(new Column({caption: L("lcl_status"), content: fncolStatus, nowrap: true}));
rst.addColumn(new Column({caption: L("lcl_descr"), content: "omschrijving"}));
rst.addAction({action: "onClickMelding", caption: L("lcl_edit"), isDefault: true});