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>
Tue, 27 Apr 2021 14:23:49 +0000 (16:23 +0200)
commit90d8667cf9bd8fa7ca2032080162f16967405f8a
tree8a5f766508c5c5b636f3ca1b67a7ded4d19f346c
parentdd9e576d55dc95e71604f333136078a0e055d3e4
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