Order items in select boxes

This commit is contained in:
Patrick Gansterer 2016-02-25 13:16:48 +01:00 committed by wvengen
parent 4e35e2d58e
commit b30b4e46d8
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@
= Invoice.human_attribute_name(:created_by)
.controls.control-text#article_fc_price
= show_user @invoice.created_by
= f.association :supplier, hint: false
= f.association :supplier, collection: Supplier.order(:name), hint: false
= f.input :number
= f.input :date, as: :date_picker
- if current_user.role_finance?