update void edit with access code

This commit is contained in:
Aung Myo
2018-05-10 16:31:39 +06:30
parent 39d4a6ae48
commit 80f353ba3c
2 changed files with 5 additions and 5 deletions

View File

@@ -72,7 +72,7 @@ class Origami::VoidController < BaseOrigamiController
# FOr Sale Audit
action_by = current_user.name
if access_code.present?
if access_code != "null"
action_by = Employee.find_by_emp_id(access_code).name
end