mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update users_show_hook_listener.rb
This commit is contained in:
@@ -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