mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 19:39:42 +01:00
ID-Console Suspension instead of Termination (#3981)
The ID Console now suspends employees instead of terminating them https://forums.aurorastation.org/viewtopic.php?f=18&t=9785
This commit is contained in:
@@ -163,11 +163,11 @@
|
||||
if(id_card)
|
||||
data_core.manifest_modify(id_card.registered_name, id_card.assignment)
|
||||
computer.proc_eject_id(user)
|
||||
if("terminate")
|
||||
if("suspend")
|
||||
if(computer && can_run(user, 1))
|
||||
id_card.assignment = "Terminated"
|
||||
id_card.assignment = "Suspended"
|
||||
remove_nt_access(id_card)
|
||||
callHook("terminate_employee", list(id_card))
|
||||
callHook("suspend_employee", list(id_card))
|
||||
if("edit")
|
||||
if(computer && can_run(user, 1))
|
||||
if(href_list["name"])
|
||||
|
||||
Reference in New Issue
Block a user