From 7d2d74ee64bc3d4dd5bd9ae811742108abeb8351 Mon Sep 17 00:00:00 2001 From: viehlieb Date: Fri, 24 Feb 2023 16:23:53 +0100 Subject: [PATCH] removedev notes --- app/models/article.rb | 8 -------- app/models/supplier.rb | 1 - 2 files changed, 9 deletions(-) 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