mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update issues_form_hook_listener.rb
This commit is contained in:
@@ -33,7 +33,7 @@ class IssuesFormHookListener < Redmine::Hook::ViewListener
|
|||||||
Customer.all.pluck(:name, :id).sort,
|
Customer.all.pluck(:name, :id).sort,
|
||||||
:selected => selected_customer,
|
:selected => selected_customer,
|
||||||
include_blank: true,
|
include_blank: true,
|
||||||
{ onchange: "$customerSelected;" }
|
onchange: "$customerSelected;"
|
||||||
|
|
||||||
# Generate the drop down list of quickbooks extimates
|
# Generate the drop down list of quickbooks extimates
|
||||||
select_estimate = f.select :qbo_estimate_id, QboEstimate.all.pluck(:doc_number, :id).sort! {|x, y| y <=> x}, :selected => selected_estimate, include_blank: true
|
select_estimate = f.select :qbo_estimate_id, QboEstimate.all.pluck(:doc_number, :id).sort! {|x, y| y <=> x}, :selected => selected_estimate, include_blank: true
|
||||||
|
|||||||
Reference in New Issue
Block a user