Bug 23181: Unable to use payment library in ACCOUNT_PAYMENT or ACCOUNT_WRITEOFF notices
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Jun 2019 12:51:15 +0000 (08:51 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 4 Nov 2019 14:20:36 +0000 (14:20 +0000)
commitc4466e7d714d32808ee2e553320431005ec7cc69
tree2e350106f57bc9fb6cb917d00b09e5d81fd8b175
parent88db3b587e319f97f47e6699c1af1ac2acd0ae6d
Bug 23181: Unable to use payment library in ACCOUNT_PAYMENT or ACCOUNT_WRITEOFF notices

Do to a simple semantic typo, the branches key will always be null for the tables key of the parameters for GetPreparedLetter.

Test Plan:
0) Activate UseEmailReceipts
1) Attempt to use [% branch.branchname %] in the ACCOUNT_PAYMENT notice
2) Note it produces no output
3) Apply this patch
4) Make another payment
5) You should now see the branche's name!

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Also requires UseEmailReceipts to be activated.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Account.pm