mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update issues_form_hook_listener.rb
This commit is contained in:
@@ -26,7 +26,7 @@ class IssuesFormHookListener < Redmine::Hook::ViewListener
|
|||||||
# Generate the drop down list of quickbooks customers
|
# Generate the drop down list of quickbooks customers
|
||||||
Customer.without_callback(:initialize, :after, :pull) do
|
Customer.without_callback(:initialize, :after, :pull) do
|
||||||
@@customer = Customer.find_by_id(@@selected_customer) if @@selected_customer
|
@@customer = Customer.find_by_id(@@selected_customer) if @@selected_customer
|
||||||
select_customer = f.select :customer_id, Customer.all.pluck(:name, :id).sort, :selected => selected_customer, include_blank: true
|
select_customer = f.select :customer_id, Customer.all.pluck(:name, :id).sort, :selected => @@selected_customer, include_blank: true
|
||||||
end
|
end
|
||||||
|
|
||||||
# Generate the drop down list of quickbooks items
|
# Generate the drop down list of quickbooks items
|
||||||
|
|||||||
Reference in New Issue
Block a user