Allow importing articles again, when article was deleted before.
This commit is contained in:
parent
bd0c251313
commit
6745b79bb9
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
%td= article.unit_quantity
|
%td= article.unit_quantity
|
||||||
%td
|
%td
|
||||||
- logger.debug "[debug] #{article.attributes.inspect}"
|
- logger.debug "[debug] #{article.attributes.inspect}"
|
||||||
- if @supplier.articles.where(order_number: article.number).exists?
|
- if @supplier.articles.undeleted.where(order_number: article.number).exists?
|
||||||
%i.icon-ok
|
%i.icon-ok
|
||||||
schon importiert
|
schon importiert
|
||||||
- else
|
- else
|
||||||
|
|
Loading…
Reference in a new issue