extface 0.6.9 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/extface/driver/base/fiscal.rb +3 -2
- data/lib/extface/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: fd08bd2e1d46486af353613c52f00c4dbfdc9bf8
|
|
4
|
+
data.tar.gz: e600848ddbbf561134a44eb02d106c06d4c11385
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf234e62813ac46a1ad7ebef2cd04e63204a610eb2586c567e8e75bd15a246b9599e66d3a9afdc47d5c65b5c1b323ebe5c686f5c59d762b07eb39220c7c9174d
|
|
7
|
+
data.tar.gz: d44e2740f650992dab29951da8b5d01db5f35a54014c9cfe65a5be84c42d6acc45d82cc03a46b3a73bf78eb42d3ad2dc06f18b42acceb40553f32a970a8cb19f
|
|
@@ -105,9 +105,10 @@ module Extface
|
|
|
105
105
|
)
|
|
106
106
|
end
|
|
107
107
|
end
|
|
108
|
-
if
|
|
108
|
+
if bill.modifiers.global.any?
|
|
109
109
|
s.notify "Register Global Modifier"
|
|
110
|
-
|
|
110
|
+
global_modifier = bill.modifiers.global.first
|
|
111
|
+
s.add_total_modifier bill.global_modifier_value.try(:to_f), global_modifier.percent_ratio.try(:to_f)
|
|
111
112
|
end
|
|
112
113
|
s.notify "Register Payment"
|
|
113
114
|
bill.payments.each do |payment|
|
data/lib/extface/version.rb
CHANGED