]> git.koha-community.org Git - koha.git/commit
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)
committerHayley Mapley <hayleymapley@catalyst.net.nz>
Sun, 12 Jan 2020 21:44:42 +0000 (10:44 +1300)
commitc54fe0c70fc2ae5fcec895bb6e9d7929303ce8ed
tree0e2cc52a928bec38d5507a2a2bbf116e30e40682
parent6a4d95c7d1ee65a510076224cec2986f2e0bb3fe
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>
(cherry picked from commit c4466e7d714d32808ee2e553320431005ec7cc69)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 73cf79940707ac9fcf74f5ea43e7711f058305f5)
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Koha/Account.pm