app/models/extface/driver/base/fiscal.rb in extface-0.6.8 vs app/models/extface/driver/base/fiscal.rb in extface-0.6.9
- old
+ new
@@ -105,10 +105,10 @@
)
end
end
if global_modifier_value = bill.global_modifier_value
s.notify "Register Global Modifier"
- s.add_total_modifier global_modifier_value.to_f
+ s.add_total_modifier global_modifier_value.to_f, global_modifier.percent_ratio.try(: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
\ No newline at end of file