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 +4 -4
- data/app/models/extface/driver/daisy_fx1200.rb +10 -0
- data/lib/extface/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd2f6cfecccfc6204d2d21808136616f7d93f491
|
4
|
+
data.tar.gz: 4504024a8001d904dc21d8c4144dfe3c580840ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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|
|
data/lib/extface/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|