Laptop ID Computer Fix

The manifest should now be updated correctly when using laptops.
This commit is contained in:
Neerti
2016-08-30 13:26:44 -04:00
parent 3df4160714
commit 7b7c508b72

View File

@@ -311,11 +311,15 @@
writer.assignment = t1 writer.assignment = t1
writer.name = text("[writer.registered_name]'s ID Card ([writer.assignment])") writer.name = text("[writer.registered_name]'s ID Card ([writer.assignment])")
data_core.manifest_modify(writer.registered_name, writer.assignment)
callHook("reassign_employee", list(writer))
if("reg" in href_list) if("reg" in href_list)
if(auth) if(auth)
writer.registered_name = href_list["reg"] writer.registered_name = href_list["reg"]
writer.name = text("[writer.registered_name]'s ID Card ([writer.assignment])") writer.name = text("[writer.registered_name]'s ID Card ([writer.assignment])")
data_core.manifest_modify(writer.registered_name, writer.assignment)
callHook("reassign_employee", list(writer))
computer.updateUsrDialog() computer.updateUsrDialog()
return return