app/models/extface/driver/daisy_fx1200.rb in extface-0.4.3c vs app/models/extface/driver/daisy_fx1200.rb in extface-0.4.3d
- 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 << value.to_s unless value.nil?
+ data << value.to_s unless value.blank?
end
)
end
def total_payment
\ No newline at end of file