extface 0.4.3c → 0.4.3d

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0868a9f53a93792341ddd70008297aefb130df5
4
- data.tar.gz: 00965734e5b876067c20158d600a0d555e4a6e14
3
+ metadata.gz: 73daec98608112e5d30e11f1bb185f381f1e147f
4
+ data.tar.gz: e1d785363cda631ecc675b1ebdcacc9e25960c9d
5
5
  SHA512:
6
- metadata.gz: a65b356137e496b67267bf8c5d1ce9dbda6745374383784c88e9424f2940f1f048d260fd4da75542d8f6e9ebda5d2d76d93715a91ed70b38cdef72046c416e2f
7
- data.tar.gz: 117d05fc47272c07158f89f18918c3be8db22700be4f5cf413185a9890dbce24c26f36151f40c2f80386ab39311e44023bf29f9ad1001432d595b5a56d349c6f
6
+ metadata.gz: 901423f4b770eaec39b569d38d82a71b59ce52f64d7b5b0818e2c123204df49e3746a304202ea00c3c711f97a43f22e30f89e3ce34060e0eaebac60fca235438
7
+ data.tar.gz: 63ba744f3c6b6b68b89ba2b0d39b6af32e28459a6cfb2be858b41a85634cfaf920d1845228440f1c43df7d198eb5322a985b7af1a07da5ba67d1942fc29f9c03
@@ -133,9 +133,10 @@ module Extface
133
133
  s.add_total_modifier global_modifier_value.to_f
134
134
  end
135
135
  s.notify "Register Payment"
136
- bill.payments.each do |payment|
137
- s.add_payment payment.value.to_f, payment.find_payment_type_mapping_for(self)
138
- end
136
+ # bill.payments.each do |payment|
137
+ # s.add_payment payment.value.to_f, payment.find_payment_type_mapping_for(self)
138
+ # end
139
+ s.total_payment #TODO fix payment and remove me
139
140
  s.notify "Close Fiscal Receipt"
140
141
  s.close_fiscal_doc
141
142
  s.notify "Fiscal Doc End"
@@ -135,7 +135,7 @@ module Extface
135
135
  fsend(Sales::TOTAL, "".tap() do |data|
136
136
  data << "\t"
137
137
  data << PAYMENT_TYPE_MAP[type_num] unless type_num.blank?
138
- data << value.to_s unless value.nil?
138
+ data << value.to_s unless value.blank?
139
139
  end
140
140
  )
141
141
  end
@@ -1,3 +1,3 @@
1
1
  module Extface
2
- VERSION = "0.4.3c"
2
+ VERSION = "0.4.3d"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extface
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3c
4
+ version: 0.4.3d
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Vangelov