diff --git a/app/models/article.rb b/app/models/article.rb index 7e7d7fa5..56067367 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -142,14 +142,6 @@ class Article < ApplicationRecord new_unit_quantity = new_article.unit_quantity new_unit = new_article.unit end - puts " - " + "______________" + " - " + "______________" + " - " + "_____oha_________" + " - " + "#{new_article.unit_symbol}" + " - " + "______________"+ " - " + "______________"+ " - " + "______________" return Article.compare_attributes( { :name => [self.name, new_article.name], diff --git a/app/models/supplier.rb b/app/models/supplier.rb index 8ae5ef42..245e2620 100644 --- a/app/models/supplier.rb +++ b/app/models/supplier.rb @@ -112,7 +112,6 @@ class Supplier < ApplicationRecord if options[:outlist_absent] outlisted_articles += articles.undeleted.where.not(order_number: all_order_numbers + [nil]) end - # TODO: change price_per to scale factor return [updated_article_pairs, outlisted_articles, new_articles] end