Fixed finance module to work with bootstrap design.

This commit is contained in:
benni 2012-11-10 16:44:05 +01:00
parent 16de9124fe
commit 0236fb5a60
55 changed files with 440 additions and 486 deletions

View file

@ -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