mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update index.html.erb
Sort the options!
This commit is contained in:
@@ -16,7 +16,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||||||
<div>
|
<div>
|
||||||
<%= f.label "Customer Count:"+@qbo_customer_count.to_s%>
|
<%= f.label "Customer Count:"+@qbo_customer_count.to_s%>
|
||||||
<br/>
|
<br/>
|
||||||
<%= f.select :qbo_customer_id, QboCustomer.all.pluck(:name, :id), :selected => @selected_customer, include_blank: true %>
|
<%= f.select :qbo_customer_id, QboCustomer.all.pluck(:name, :id).sort, :selected => @selected_customer, include_blank: true %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
@@ -24,7 +24,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||||||
<div>
|
<div>
|
||||||
<%= f.label "Item Count: "+@qbo_item_count.to_s %>
|
<%= f.label "Item Count: "+@qbo_item_count.to_s %>
|
||||||
<br/>
|
<br/>
|
||||||
<%= f.select :qbo_item_id, QboItem.all.pluck(:name, :id).reverse, :selected => @selected_item, include_blank: true %>
|
<%= f.select :qbo_item_id, QboItem.all.pluck(:name, :id).sort.reverse, :selected => @selected_item, include_blank: true %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
@@ -32,7 +32,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||||||
<div>
|
<div>
|
||||||
<%= f.label "Employee Count: "+@qbo_employee_count.to_s %>
|
<%= f.label "Employee Count: "+@qbo_employee_count.to_s %>
|
||||||
<br/>
|
<br/>
|
||||||
<%= f.select :qbo_employee_id, QboEmployee.all.pluck(:name, :id), :selected => @selected_employee, include_blank: true %>
|
<%= f.select :qbo_employee_id, QboEmployee.all.pluck(:name, :id).sort, :selected => @selected_employee, include_blank: true %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@@ -52,4 +52,4 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<%= link_to "Sync", qbo_sync_path %>
|
<%= link_to "Sync", qbo_sync_path %>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user