From e95c0bf7131bb715876d4d1761ab4b92d484523c Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 17 Apr 2014 09:47:59 -0400 Subject: [PATCH] Bug 11629: (follow-up) fix message displayed when item is made available Signed-off-by: Katrin Fischer Signed-off-by: Galen Charlton --- .../intranet-tmpl/prog/en/modules/circ/returns.tt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 5bd28ea500..72f9ee367f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -375,8 +375,18 @@ $(document).ready(function () { [% IF ( errmsgloo.NotForLoanStatusUpdated ) %]

Not for loan status updated - from [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) %] - to [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) %] + from + [% IF errmsgloo.NotForLoanStatusUpdated.from %] + [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) %] + [% ELSE %] + being available for loan + [% END %] + to + [% IF errmsgloo.NotForLoanStatusUpdated.to %] + [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) %] + [% ELSE %] + being available for loan + [% END %]

[% END %] [% IF ( errmsgloo.badbarcode ) %] -- 2.39.5