Skip to content

Commit

Permalink
Ajout de 'BNPAFRPPMTZ' et 'BNPAFRPPTAS' dans la liste des BICs partic…
Browse files Browse the repository at this point in the history
…uliers
  • Loading branch information
tnicolas1 committed Oct 25, 2024
1 parent b747ede commit 852b63c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/services/asp/mappers/coord_paie_mapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ class CoordPaieMapper
ASSIMILATED_FRENCH_COUNTRY_CODES = %w[FR GF GP MC MQ NC PF PM RE WF YT].freeze

PARTICULAR_BICS = {
CREDIT_MUTUEL_ARKEA: "CMBRFR2BARK"
CREDIT_MUTUEL_ARKEA: "CMBRFR2BARK",
BNP_PARIBAS_METZ: "BNPAFRPPMTZ",
BNP_PARIBAS_LYON: "BNPAFRPPTAS"
}.freeze

MAPPING = {
Expand Down Expand Up @@ -82,6 +84,10 @@ def particular_rib_treatment(bic)
case PARTICULAR_BICS.key(bic)
when :CREDIT_MUTUEL_ARKEA
bic.gsub("ARK", "")
when :BNP_PARIBAS_METZ
bic.gsub("MTZ", "XXX")
when :BNP_PARIBAS_LYON
bic.gsub("TAS", "XXX")
end
end
end
Expand Down

0 comments on commit 852b63c

Please sign in to comment.