Merge pull request #146 from foodcoop-adam/add-only-undeleted-articles

only add undeleted articles in balancing screen
This commit is contained in:
wvengen 2013-07-10 13:05:50 -07:00
commit 2ef7e58b0b

View file

@ -4,7 +4,7 @@ module Finance::OrderArticlesHelper
if @order.stockit?
StockArticle.order('articles.name')
else
@order.supplier.articles.order('articles.name')
@order.supplier.articles.undeleted.order('articles.name')
end
end
end