billing 0.1.5 → 0.1.6
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: aeab2c3ad07d27197ae4d133a33f955d9637bb4c
|
4
|
+
data.tar.gz: ddcc7dfd7e4aa3ae52d4c9a867fbeb3b450cecb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f2fdf3c6239829733af6fdc3db6e6cc38b6a48c6bd68f86575fb46b910f4b8a04785e1f9ebe328a319eada341bbe9642087064341eaf1241f10239b0210df82
|
7
|
+
data.tar.gz: ca7c51634ea1386329ebe7e6fe760b528dac73a3d49c94ba7647fb0b58ccc56d21053c34c5ceb165a201f1963940a8d377a15ced35cf24c93fa98a973613ff2b
|
@@ -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(cmd.b.gsub(/../)
|
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