Allow importing articles again, when article was deleted before.

This commit is contained in:
Benjamin Meichsner 2013-03-17 20:02:14 +01:00
parent bd0c251313
commit 6745b79bb9

View file

@ -25,7 +25,7 @@
%td= article.unit_quantity
%td
- 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
schon importiert
- else