lib/efo_nelfo/v40/bh.rb in efo_nelfo-1.5.3 vs lib/efo_nelfo/v40/bh.rb in efo_nelfo-1.5.4
- old
+ new
@@ -54,20 +54,9 @@
property :seller_office, alias: :SPostSted, limit: 35
property :seller_country, alias: :SLandK, limit: 2
has_many :lines, post_type: "BL"
- # def add(post_type)
- # case
- # when post_type.is_a?(BL)
- # add_order_line(post_type)
- # when post_type.is_a?(BT)
- # add_text_to_order_line(post_type)
- # when post_type.is_a?(Hash)
- # add_order_line(EfoNelfo::V40::BL.new(post_type))
- # end
- # end
-
private
# Appends a order line to the order
def add_order_line(line)
line.index = lines.size + 1