Bug 26689: Prepend letter codes.
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 29 Jun 2022 16:26:30 +0000 (17:26 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 2 Sep 2022 17:55:09 +0000 (17:55 +0000)
commit6d9fd8160a6e0e9976babcc2cd01f58baa4a325e
tree05a2df39b64ca9842f585e60915bc3b96ec38a09
parent021ca321ee7eb97a392149f736524b46b2a57407
Bug 26689: Prepend letter codes.

This patch prepends the credit_type_code and debit_type_code with
CREDIT_ and DEBIT_ respectively when doing a lookup on the notice letter
code.

Test plan
1) As previous patches, however instead of just naming your notice to
   match the credit_type_code or debit_type_code use
   CREDIT_credit_type_code and DEBIT_debit_type_code respectively.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 87aa05f9deb7fa09f059d53b422b89c8411e0c84)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
members/printfeercpt.pl
members/printinvoice.pl