class EvidenceRoomArticlesDestroyed{ constructor(){ this.name = "evidenceroomarticlesdestroyed"; } static isCustom(){ return true; } static allowDelete(){ return userrights.has("evidencerooms.delete"); } static GetColumns(){ return ["name","amount","file_name","state","changedate"] } static CreateCustom(data){ document.getElementById("currentpage-content").innerHTML = Form.BackEditBtn("evidencerooms.dataload", "",-1, false, -1); document.getElementById("currentpage-content").innerHTML += System.GetTable(System.getClassByName("evidenceroomarticles"), data.data, true) Form.initViewModeTopButtons(); } }