Compare commits
No commits in common. "cc2065f59078770d23cf37dc7df7482af02ed5b2" and "bc13946e772e25a55170ff81133ae16085837f33" have entirely different histories.
cc2065f590
...
bc13946e77
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?
|
||||
price_per = row[66].gsub(',', '.').to_f
|
||||
price = row[37].gsub(',', '.').to_f
|
||||
article.merge!(:price_per => (price_per * price).to_s.gsub('.', ','))
|
||||
article.merge!(:price_per => (price_per * price).to_s)
|
||||
article.merge!(:unit_symbol => row[65] )
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue