mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update users_show_hook_listener.rb
This commit is contained in:
1 parent
c6f8fd7561
commit
7800e52299
1 file changed
+1
-1
@@ -14,7 +14,7 @@ class UsersShowHookListener < Redmine::Hook::ViewListener
|
|||||||
def view_users_form(context={})
|
def view_users_form(context={})
|
||||||
|
|
||||||
# Update the users
|
# Update the users
|
||||||
QboEmployee.update_all
|
#QboEmployee.update_all
|
||||||
|
|
||||||
# Check to see if there is a quickbooks user attached to the issue
|
# Check to see if there is a quickbooks user attached to the issue
|
||||||
@selected = context[:user].qbo_employee.id if context[:user].qbo_employee
|
@selected = context[:user].qbo_employee.id if context[:user].qbo_employee
|
||||||
|
|||||||
Reference in new issue
Block a user