Fixed finance module to work with bootstrap design.
This commit is contained in:
parent
16de9124fe
commit
0236fb5a60
55 changed files with 440 additions and 486 deletions
|
|
@ -2,9 +2,9 @@ module Finance::OrderArticlesHelper
|
|||
|
||||
def new_order_articles_collection
|
||||
if @order.stockit?
|
||||
StockArticle.order(:name)
|
||||
StockArticle.order('articles.name')
|
||||
else
|
||||
@order.supplier.articles.order(:name)
|
||||
@order.supplier.articles.order('articles.name')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue