class ControlCentreEmployees{ constructor(){ this.name = "controlcentreemployees"; } static allowEdit(){ return userrights.has("controlcentre.take"); } static isCustom(){ return true; } static GetColumns(){ return ["name","radio_short_name","id"] } static TableDataCreate(row, key){ let FgColor = System.GetFgColorByBgColor(row["radio_color"]); if(row["radio_color"] == ""){ row["radio_color"] = "#FFFFFF"; } if(key == "id"){ if(!this.allowEdit()){ return `