From 9322f750e2e9f1f562b87dc6ac7ffe8fc765c312 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 12 Mar 2014 15:53:23 +0100 Subject: [PATCH] Bug 10860: In-House use should not be renewed --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index b5b795c..89d7271 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -801,7 +801,9 @@ No patron matched [% message %] [% IF ( todayissue.renew_failed ) %] Renewal failed [% ELSE %] - [% IF ( todayissue.renewals ) %][% todayissue.renewals %][% ELSE %]0[% END %] + + [% UNLESS todayissue.inhouse_use %] + [% IF ( todayissue.renewals ) %][% todayissue.renewals %][% ELSE %]0[% END %] [% IF ( todayissue.can_renew ) %] [% IF ( todayissue.od ) %] @@ -836,6 +838,7 @@ No patron matched [% message %] [% END %] [% END %] + [% END %] [% END %] [% IF ( todayissue.return_failed ) %] @@ -901,7 +904,9 @@ No patron matched [% message %] [% IF ( previssue.renew_failed ) %] Renewal failed [% ELSE %] - [% IF ( previssue.renewals ) %][% previssue.renewals %][% ELSE %]0[% END %] + + [% UNLESS todayissue.inhouse_use %] + [% IF ( previssue.renewals ) %][% previssue.renewals %][% ELSE %]0[% END %] [% IF ( previssue.can_renew ) %] [% IF ( previssue.od ) %] @@ -936,6 +941,7 @@ No patron matched [% message %] [% END %] [% END %] + [% END %] [% END %] [% IF ( previssue.return_failed ) %] -- 1.7.10.4