uob-payroll 1.0.3 → 1.0.4
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/txt_file/header.rb +5 -1
- 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: 0878321b1cd7585596496ad4e65022bfc6b42368
|
4
|
+
data.tar.gz: 01162ed4eeebad355b85b5d96f3b5ea03499255b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91ca534cfddc83712dc74056eb96f5db182d600ff5b7b3b746d9ce41b1ff4b6cacb3c71d7078d6ef5b8df1a41b36f1ffb3b59945489ba5112ee58beeee959464
|
7
|
+
data.tar.gz: dbc42ce40311ce96e1a50da0014e130f94c8e2ec2dd26e21683842128f4d11231244ecd8a1bc038f6a955318c209e618ef37a4fe4b7ed61308f18e1bec761fca
|
@@ -20,7 +20,7 @@ module UOB
|
|
20
20
|
text :formatted_creation_date, 224..231
|
21
21
|
text :formatted_value_date, 232..239
|
22
22
|
text :ultimate_originating_customer, 240..379, just: :left, value: ' '
|
23
|
-
text :bulk_customer_reference, 380..395, just: :left
|
23
|
+
text :bulk_customer_reference, 380..395, just: :left
|
24
24
|
text :software_label, 396..405, value: 'PH', just: :left
|
25
25
|
spaces 406..615
|
26
26
|
|
@@ -64,6 +64,10 @@ module UOB
|
|
64
64
|
def formatted_value_date
|
65
65
|
value_date.strftime '%Y%m%d'
|
66
66
|
end
|
67
|
+
|
68
|
+
def bulk_customer_reference
|
69
|
+
"PAYROLL#{creation_date.strftime('%d%m')}"
|
70
|
+
end
|
67
71
|
end
|
68
72
|
end
|
69
73
|
end
|
data/lib/uob/payroll/version.rb
CHANGED