billing 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/jobs/billing/issue_print_doc.rb +1 -1
- data/lib/billing/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d99b85d2a8cba740b11827271a6a364f345b930
|
4
|
+
data.tar.gz: 42468d50b105eea40ef7add0e1d894e75e9b757c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6e7d5ff518d835a26c6df10676b37141570c4b7921ec75a6b9c80a1c62a8a34bca398a2da0b3d6410f25f1d228d40283280b84ac8ce3fd576a0f49b8f522730
|
7
|
+
data.tar.gz: 38466e3f9c9fdc8536e470084f85c26350600c59398da3676281df47eb700de2ef0097055277ece26f73d131e26f4d411962b7ca99fde55da7b7f5203414f5d2
|
@@ -65,7 +65,7 @@ module Billing
|
|
65
65
|
s.try :autocut if bill.origin.receipt_config.try(:paper_cut)
|
66
66
|
s.try :beep if bill.origin.receipt_config.try(:sound_signal)
|
67
67
|
s.try :pulse if bill.origin.receipt_config.try(:open_cash_drawer)
|
68
|
-
if bill.origin.receipt_config.try(:custom_commands) && cmd =
|
68
|
+
if bill.origin.receipt_config.try(:custom_commands) && cmd = bill.origin.receipt_config.try(:custom_commands_text)
|
69
69
|
s.push(cmd.b.gsub(/../){ |pair| pair.hex.chr })
|
70
70
|
end
|
71
71
|
s.notify "Print Doc End"
|
data/lib/billing/version.rb
CHANGED