Merge pull request #146 from foodcoop-adam/add-only-undeleted-articles
only add undeleted articles in balancing screen
This commit is contained in:
commit
2ef7e58b0b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue