uob-payroll 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uob/payroll/hash_calculator.rb +1 -6
- data/lib/uob/payroll/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: ffc20a1da3bc5aebc95f34d5751534f32886c086
|
4
|
+
data.tar.gz: 6ff939c710c741b2700d934f17b45dce2b4cdc19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5b8e0106265cc6a2b1ef65b52d2e653962808eb93577b0231405383bb719d70f60fffcd24688557b976849042f19857b942a3b729ac8fa5013f77bcabaa2ffe
|
7
|
+
data.tar.gz: 7304289625f6026dbc825163d15f368c3671ad9ac45657ecec7f4f594c03f1a88739bae5cf1aead15dbb231bd4653498d8703e78ddffe028508857b053e80524
|
@@ -36,7 +36,7 @@ module UOB
|
|
36
36
|
sum = 0
|
37
37
|
|
38
38
|
rows.each.map do |row|
|
39
|
-
hash_code =
|
39
|
+
hash_code = 0 if hash_code == 9
|
40
40
|
hash_code += 1
|
41
41
|
|
42
42
|
sum += calculate_string(row.receiving_bic_code) +
|
@@ -53,11 +53,6 @@ module UOB
|
|
53
53
|
|
54
54
|
private
|
55
55
|
|
56
|
-
def calculate_index(index)
|
57
|
-
index = 0 if index == 9
|
58
|
-
index += 1
|
59
|
-
end
|
60
|
-
|
61
56
|
# Payment Type is always 'R', so Payment Code = 22
|
62
57
|
def calculate_payment_type(index)
|
63
58
|
22 * (index)
|
data/lib/uob/payroll/version.rb
CHANGED