app/models/extface/driver/base/fiscal.rb in extface-0.4.6i vs app/models/extface/driver/base/fiscal.rb in extface-0.4.6k
- old
+ new
@@ -118,13 +118,13 @@
device.session("Fiscal Doc") do |s|
s.notify "Fiscal Doc Start"
s.open_fiscal_doc(operator_mapping.try(:mapping), operator_mapping.try(:pwd))
s.notify "Register Sale"
total_modifier = nil
- if global_modifier_value = bill.global_modifier_value
- s.notify "Register Global Modifier"
- total_modifier = global_modifier_value.to_f
- end
+ # if global_modifier_value = bill.global_modifier_value
+ # s.notify "Register Global Modifier"
+ # total_modifier = global_modifier_value.to_f
+ # end
s.add_sale(
SaleItem.new(
price: bill.payments_sum.to_f,
#text1: bill.name,
text1: '',
\ No newline at end of file