remove scale_quantity
This commit is contained in:
parent
77474c0811
commit
cf40a53785
4 changed files with 4 additions and 6 deletions
|
|
@ -76,7 +76,7 @@ module FoodsoftArticleImport
|
|||
article.merge!(:deposit => self.translate(:deposit, row[26])) if self.translate(:deposit, row[26])
|
||||
|
||||
# get scale prices if exists
|
||||
article.merge!(:scale_quantity => row[40], :scale_price => row[41]) unless row[40].nil? or row[41].nil?
|
||||
# article.merge!(:scale_quantity => row[40], :scale_price => row[41]) unless row[40].nil? or row[41].nil?
|
||||
|
||||
if row[62] != nil
|
||||
# consider special prices
|
||||
|
|
|
|||
|
|
@ -45,8 +45,6 @@ module FoodsoftArticleImport::Foodsoft
|
|||
:price => row[7],
|
||||
:tax => row[8],
|
||||
:unit_quantity => row[10],
|
||||
:scale_quantity => row[11],
|
||||
:scale_price => row[12],
|
||||
:article_category => row[13]}
|
||||
article.merge!(:deposit => row[9]) unless row[9].nil?
|
||||
FoodsoftArticleImport.generate_number(article) if article[:order_number].to_s.strip.empty?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue