Compare commits
2 commits
bc13946e77
...
cc2065f590
Author | SHA1 | Date | |
---|---|---|---|
cc2065f590 | |||
a24947edb7 |
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ module FoodsoftArticleImport
|
||||||
unless row[37].nil? && row[65].nil? && row[66].nil?
|
unless row[37].nil? && row[65].nil? && row[66].nil?
|
||||||
price_per = row[66].gsub(',', '.').to_f
|
price_per = row[66].gsub(',', '.').to_f
|
||||||
price = row[37].gsub(',', '.').to_f
|
price = row[37].gsub(',', '.').to_f
|
||||||
article.merge!(:price_per => (price_per * price).to_s)
|
article.merge!(:price_per => (price_per * price).to_s.gsub('.', ','))
|
||||||
article.merge!(:unit_symbol => row[65] )
|
article.merge!(:unit_symbol => row[65] )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue