From 32a1fc5d476068d11574786b624de176b771348a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Sat, 18 Feb 2017 18:35:39 +0100 Subject: [PATCH] Bug 14353 - Show 'damaged' and other status on the 'place holds' page in staff This patch adds a 'Status' column to the items table on 'Place hold' page. To test: - Apply patch - In staff client, try to place an item level hold for items with Damaged, Lost, Withdrawn statuses. - Verify a new column 'Status' indicating the item's status as appropriate. --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 34a7304..d578ac3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -475,6 +475,7 @@ function checkMultiHold() { Last location Call no. Copy number + Status [% IF itemdata_enumchron %] Vol no. [% END %] @@ -552,6 +553,11 @@ function checkMultiHold() { [% END %] + [% IF ( itemloo.itemlost ) %]Lost[% END %] + [% IF ( itemloo.damaged ) %]Damaged[% END %] + [% IF ( itemloo.withdrawn ) %]Withdrawn[% END %] + + [% IF ( itemloo.onloan ) %] Due [% itemloo.date_due | $KohaDates as_due_date => 1 %] [% ELSE %] -- 2.1.4