Skip to content

Commit

Permalink
fix: Import deposit from BNN files
Browse files Browse the repository at this point in the history
  • Loading branch information
kidhab committed Sep 27, 2024
1 parent 07aeb0d commit 2ff9e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/article_import/bnn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def self.parse(file, **opts)
:unit_quantity => row[22]
}
# TODO: Complete deposit list....
article.merge!(:deposit => self.translate(:deposit, row[26])) if self.translate(:deposit, row[26])
article.merge!(:deposit => self.translate(:deposit, row[27])) if self.translate(:deposit, row[27])

# get scale prices if exists
article.merge!(:scale_quantity => row[40], :scale_price => row[41]) unless row[40].nil? or row[41].nil?
Expand Down

0 comments on commit 2ff9e9b

Please sign in to comment.