Sort suppliers in dropdown menu for new deliveries
This commit is contained in:
parent
a3defc5463
commit
08065a09ec
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@
|
||||||
= t '.new_delivery'
|
= t '.new_delivery'
|
||||||
%span.caret
|
%span.caret
|
||||||
%ul.dropdown-menu
|
%ul.dropdown-menu
|
||||||
- Supplier.all.each do |supplier|
|
- Supplier.order(:name).each do |supplier|
|
||||||
%li= link_to supplier.name, new_supplier_delivery_path(supplier), tabindex: -1
|
%li= link_to supplier.name, new_supplier_delivery_path(supplier), tabindex: -1
|
||||||
|
|
||||||
%table.table.table-hover#articles
|
%table.table.table-hover#articles
|
||||||
|
|
Loading…
Reference in a new issue