Do not show deleted articles and suppliers for new deleiveries
This commit is contained in:
parent
d0e73ea1ff
commit
6e4b9696a2
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
|||
$('#new_stock_article').removeAttr('disabled').select2({
|
||||
tags: true,
|
||||
placeholder: '#{t '.create_stock_article'}',
|
||||
data: #{raw articles_for_select2(@supplier.articles).to_json},
|
||||
data: #{raw articles_for_select2(@supplier.articles.undeleted).to_json},
|
||||
createTag: function(data) {
|
||||
return {
|
||||
id: 'new',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue