only add undeleted articles in balancing screen

This commit is contained in:
wvengen 2013-07-08 02:31:54 +02:00
parent d397132f7b
commit 1eeec23c80

View file

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