only show undeleted articles in receive screen
This commit is contained in:
parent
9e58a6f2b1
commit
4b6231129c
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
- new_articles = (@order.supplier.articles rescue @order.articles)
|
- new_articles = (@order.supplier.articles.undeleted rescue @order.articles)
|
||||||
- new_article_data = articles_for_select2(new_articles, @order_articles.map(&:article_id)) {|a| "#{a.name} (#{a.unit_quantity}⨯#{a.unit})"}
|
- new_article_data = articles_for_select2(new_articles, @order_articles.map(&:article_id)) {|a| "#{a.name} (#{a.unit_quantity}⨯#{a.unit})"}
|
||||||
- content_for :javascript do
|
- content_for :javascript do
|
||||||
:javascript
|
:javascript
|
||||||
|
|
Loading…
Reference in a new issue