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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2c99c455d669878f95877191d495dfc1cd3312f
4
- data.tar.gz: d6924340c9a2dab9abc25ca143c4bdd4f308e619
3
+ metadata.gz: 0878321b1cd7585596496ad4e65022bfc6b42368
4
+ data.tar.gz: 01162ed4eeebad355b85b5d96f3b5ea03499255b
5
5
  SHA512:
6
- metadata.gz: f7c24a4fb5fe88d7d571d3ff1a7515d01d12558a41a104789bc9f6cfe2d06505cf0b17a217fb71b05a0b657b6b59ed30e4f5ddc373c2ba629e4f4d7cedcc2a53
7
- data.tar.gz: 96be366013b2c6fbf2ce853a2ad97601b602c150ec4c35a3c2e2b2ca700b401bde4986dc8e018e2e991ea80510123e4a3fbcead49a1ab92c73e9f92b001b876d
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, value: ' '
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
@@ -1,5 +1,5 @@
1
1
  module Uob
2
2
  module Payroll
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uob-payroll
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Paca