extface 0.5.4a → 0.5.4b

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: feeb127971d3fc5328d44c9d4c40acc0cacb3878
4
- data.tar.gz: ddcaa3ebb9f49d9ebf98071bb5e1d3a5aa9ccfec
3
+ metadata.gz: fd2f6cfecccfc6204d2d21808136616f7d93f491
4
+ data.tar.gz: 4504024a8001d904dc21d8c4144dfe3c580840ad
5
5
  SHA512:
6
- metadata.gz: 8e1c0864ac3dfe0f07f01e40992e3661e5f6f2fb6b9fc43c0ca4781092735467ded68b394f9ea44b193db1e73e9ec870641c952a31dfea432bb111a93b756bd5
7
- data.tar.gz: 7b0714da8890a5bc76eb3d6b1074b2f3e7588295a74fe4086d770a57888c584d23b125475ef5d8ae85fcb02914725b490c6b770b7f426e0573f601a32306b0a1
6
+ metadata.gz: 7b33ce175268fab50fd152bf8030d3fe6f99f55734c267bf963febf3f7f8d6e85bdd93feff5d5a1bc778f2caeef8c08a3bb74c6237e8b51e71bc459dfcbb0746
7
+ data.tar.gz: 1531de5515550af43d36dcf6bbed50bceadc05446b55348e5536b3dfd56f33ae1f5d46a8bc69d5aad55a62a540d4231d623364c9dfae0b36023043c18a15ffbf
@@ -150,6 +150,16 @@ module Extface
150
150
  fsend(Sales::TOTAL, "\t")
151
151
  end
152
152
 
153
+ def payed_recv_account(value = 0.00, payment_type_num = 0)
154
+ raise "Incorrect Amount Value" if value.zero?
155
+ device.session("Payed Out / Received on Account (#{value.to_s})") do |s|
156
+ s.notify "Payed / Received Start"
157
+ fsend Other::ADD_SUB_SUMS, "" << ("%.2f" % value)
158
+ status = get_printer_status
159
+ s.notify "Payed / Received End"
160
+ end
161
+ end
162
+
153
163
  #basket
154
164
  def sale_and_pay_items_session(items = [], operator = "1", password = "1")
155
165
  device.session("Fiscal Doc") do |s|
@@ -1,3 +1,3 @@
1
1
  module Extface
2
- VERSION = "0.5.4a"
2
+ VERSION = "0.5.4b"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extface
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4a
4
+ version: 0.5.4b
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Vangelov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-24 00:00:00.000000000 Z
11
+ date: 2016-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis