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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Apr 2021 13:11:45 +0000 (15:11 +0200)
commitb5d4d0979f1e797faf9bca640eb8d99ef232924f
tree214569892a8d2f7b6f428ff6d0c6c9bb094cbf91
parent5bf03017ac262aaf841356d48658a90e7e823105
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>
(cherry picked from commit 00dfcfcbe8c2f974dd3fe0939fcf8a8087c18dbd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
circ/returns.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt