mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update projects_form_hook_listener.rb
This commit is contained in:
@@ -28,7 +28,7 @@ class ProjectsFormHookListener < Redmine::Hook::ViewListener
|
||||
|
||||
# Load customer information
|
||||
customer = Customer.find_by_id(selected_customer) if selected_customer
|
||||
search_customer = f.autocomplete_field :customer, autocomplete_customer_name_customers_path, :selected => selected_customer, :update_elements => {:id => '#project_customer_id', :value => '#project_customer'}
|
||||
search_customer = f.autocomplete_field :customers_id, autocomplete_customer_name_customers_path, :selected => selected_customer, :update_elements => {:id => '#project_customer_id', :value => '#project_customer'}
|
||||
customer_id = f.hidden_field :customers_id, :id => "project_customer_id"
|
||||
|
||||
if context[:project].customer
|
||||
|
||||
Reference in New Issue
Block a user