forked from Simnation/Main
ed
This commit is contained in:
parent
48a36209b5
commit
884f3df7cf
262 changed files with 223207 additions and 2 deletions
|
@ -0,0 +1,28 @@
|
|||
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();
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue