Bug 21883: Pass the item to the template
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 1 Oct 2020 12:40:41 +0000 (13:40 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 21 Apr 2021 13:25:07 +0000 (15:25 +0200)
commit00dfcfcbe8c2f974dd3fe0939fcf8a8087c18dbd
tree0e7a3ca318333a2fb6a515f53944d8325d8a86e6
parentcef6bbd660e45f49aee165e72f2448d92aeac32b
Bug 21883: Pass the item to the template

This patch update the controller to pass a full item object to the
template instead of a subset of item fields and updates the template to
utilise the object.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
circ/returns.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt