app/models/extface/driver/base/fiscal.rb in extface-0.4.3d vs app/models/extface/driver/base/fiscal.rb in extface-0.4.3e
- old
+ new
@@ -131,13 +131,13 @@
if global_modifier_value = bill.global_modifier_value
s.notify "Register Global Modifier"
s.add_total_modifier global_modifier_value.to_f
end
s.notify "Register Payment"
- # bill.payments.each do |payment|
- # s.add_payment payment.value.to_f, payment.find_payment_type_mapping_for(self)
- # end
- s.total_payment #TODO fix payment and remove me
+ bill.payments.each do |payment|
+ s.add_payment payment.value.to_f, payment.find_payment_type_mapping_for(self)
+ end
+ #s.total_payment #TODO fix payment and remove me
s.notify "Close Fiscal Receipt"
s.close_fiscal_doc
s.notify "Fiscal Doc End"
end
end
\ No newline at end of file