billing 0.1.4 → 0.1.5
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: e664434295b24d1ec45bbd0a2dd32ac927dc4a9a
|
4
|
+
data.tar.gz: e9d6ff5a01bbfcff71609324ec591a0d9029121c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5f4dce88c89267aab668549fb91e179bfc0020e5a8f7687390d8d655d7a49f6a0f91f00eeed9894bb64621f6d62a1339f62df7f5236e181f5b6a5d3b8f98dd9
|
7
|
+
data.tar.gz: 05a47a21c0e83f235e2f6d5614d5838250742d88d9acefb6820dde7dde7b68d21202d7ae01d0f91888f8da5217c47e546af1776ca0686c8a45c1e7bf7b04980b
|
@@ -66,7 +66,7 @@ module Billing
|
|
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
68
|
if bill.origin.receipt_config.try(:custom_commands) && cmd = s.push bill.origin.receipt_config.try(:custom_commands_text)
|
69
|
-
s.push
|
69
|
+
s.push(cmd.b.gsub(/../) { |pair| pair.hex.chr })
|
70
70
|
end
|
71
71
|
s.notify "Print Doc End"
|
72
72
|
end
|
data/lib/billing/version.rb
CHANGED