Bug 26734: Ratify account slip printing
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 16 Jul 2020 08:42:20 +0000 (09:42 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Apr 2021 13:27:50 +0000 (15:27 +0200)
commit58ec862da2243d9210a419c210e7b469ac2f6872
treec9401276868eb0a8268d89e64d62ec79c396d501
parent3c6e7ec55dca08bbd2b65ea465f304eca7c60903
Bug 26734: Ratify account slip printing

This patch simplifies the members/print*.pl controller scripts to only
pass around the minimum required data for the templates.

Test plan
Slips should continue to print as they did prior to the patch
1/ Add a manual invoice and manual debit to a patrons account
2/ Print a slip for the manual invoice, compare to a printed slip prior
to the patch.
3/ Print a slip for the manual debit, compare to a printed slip prior to
the patch.
4/ Signoff.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
members/printfeercpt.pl
members/printinvoice.pl
pos/printreceipt.pl