show all articles in receive screen (not just of this order)
This commit is contained in:
parent
bb331f99a7
commit
aa6041d337
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
- new_article_data = articles_for_select2(@order.articles, @order_articles.map(&:article_id)) {|a| "#{a.name} (#{a.unit_quantity}⨯#{a.unit})" }
|
- new_articles = (@order.supplier.articles rescue @order.articles)
|
||||||
|
- 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