app/models/extface/driver/daisy_fx1200.rb in extface-0.4.3b vs app/models/extface/driver/daisy_fx1200.rb in extface-0.4.3c

- old
+ new

@@ -133,10 +133,10 @@ def add_payment(value = nil, type_num = nil) raise "Not in fiscal session" unless @fiscal_session fsend(Sales::TOTAL, "".tap() do |data| data << "\t" data << PAYMENT_TYPE_MAP[type_num] unless type_num.blank? - data << item.price.to_s + data << value.to_s unless value.nil? end ) end def total_payment \ No newline at end of file