only add undeleted articles in balancing screen
This commit is contained in:
parent
d397132f7b
commit
1eeec23c80
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue