Bug 20822: (bug 18789 follow-up) Fix HOLD_SLIP
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 28 May 2018 18:11:09 +0000 (15:11 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 5 Jun 2018 09:46:42 +0000 (10:46 +0100)
commit934ec2dcd3f55af3b3c2acc727837076758fbfc6
tree952e22fbc1b4b76572a93bfe194ebb4d0ea2e950
parentc6c1ff70c270c8ab147c7da315e79ca36054acd7
Bug 20822: (bug 18789 follow-up) Fix HOLD_SLIP

Caused by
  commit ab47e46ea0ade643b308a8b00708d57995c57050
  Bug 18789: Pass a Koha::Patron object from returns.pl

circ/returns.pl does not send a $patron Koha::Patron object to the
template in case print_slip is set

Test plan:
Confirm a hold and print the slip

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
circ/returns.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt