Skip to content

Commit

Permalink
Simplify bank account format for New Zealand
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmalbaux committed Jan 12, 2022
1 parent feda968 commit 1e5afdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/payments_helper.rb
Expand Up @@ -118,7 +118,7 @@ module PaymentsHelper
phone_number: '+31 12 345 6705'
},
NZ: {
account_number: {format: '11-0000-0000000-010', regexp: '[0-9]{2}\-[0-9]{4}\-[0-9]{7}\-[0-9]{2,3}', test_regexp: '[0-9]{2}-[0-9]{4}-[0-9]{7}-[0-9]{2,3}' },
account_number: {format: '1100000000000010', regexp: '[0-9]{2}[0-9]{4}[0-9]{7}[0-9]{2,3}', test_regexp: '[0-9]{2}[0-9]{4}[0-9]{7}[0-9]{2,3}' },
phone_number: '+64 1 123 1200'
},
NO: {
Expand Down

0 comments on commit 1e5afdc

Please sign in to comment.