removedev notes

This commit is contained in:
viehlieb 2023-02-24 16:23:53 +01:00
parent 1106178e38
commit 7d2d74ee64
2 changed files with 0 additions and 9 deletions

View file

@ -142,14 +142,6 @@ class Article < ApplicationRecord
new_unit_quantity = new_article.unit_quantity new_unit_quantity = new_article.unit_quantity
new_unit = new_article.unit new_unit = new_article.unit
end end
puts "
" + "______________" + "
" + "______________" + "
" + "_____oha_________" + "
" + "#{new_article.unit_symbol}" + "
" + "______________"+ "
" + "______________"+ "
" + "______________"
return Article.compare_attributes( return Article.compare_attributes(
{ {
:name => [self.name, new_article.name], :name => [self.name, new_article.name],

View file

@ -112,7 +112,6 @@ class Supplier < ApplicationRecord
if options[:outlist_absent] if options[:outlist_absent]
outlisted_articles += articles.undeleted.where.not(order_number: all_order_numbers + [nil]) outlisted_articles += articles.undeleted.where.not(order_number: all_order_numbers + [nil])
end end
# TODO: change price_per to scale factor
return [updated_article_pairs, outlisted_articles, new_articles] return [updated_article_pairs, outlisted_articles, new_articles]
end end