1
0
Fork 0
forked from Simnation/Main
Main/resources/[jobs]/[mdt]/myEmergency/html/js/modules/EvidenceRoomArticlesDestroyed.js
2025-08-14 13:21:51 +02:00

28 lines
No EOL
716 B
JavaScript

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();
}
}