From 481fb09701b83a460f0eb93c0a11c48759aba5c1 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 6 Apr 2016 00:51:15 +0000 Subject: [PATCH] Bug 9543 - Show patrons messaging subscription on holds notification not already waiting Same plan as previous patch, but this one should show the message for a hold not already waiting but not requiring a transfer (hold-found2 alert box) Signed-off-by: Chris Kirby Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher --- .../intranet-tmpl/prog/en/modules/circ/returns.tt | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 17a20d4eb9..ec5f99bccf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -409,6 +409,19 @@ $(document).ready(function () { [% borcity %] [% borzip %] [% IF ( borphone ) %]
  • [% borphone %]
  • [% END %] [% IF ( boremail ) %]
  • [% IF ( transfertodo ) %][% boremail %][% ELSE %][% boremail %][% END %]
  • [% END %] + [% UNLESS ( transfertodo) %] + [% IF ( bormessagepref ) %] +
  • Patron is notified: + [% FOREACH key IN bormessagepref.keys %] + [% IF ( key == 'email' ) %] Email. [% END %] + [% IF ( key == 'phone' ) %] Phone. [% END %] + [% IF ( key == 'sms' ) %] SMS. [% END %] + [% END %] +
  • + [% ELSE %] +
  • Patron is not notified
  • + [% END %] + [% END %] [% IF ( debarred ) %]
  • Patron is RESTRICTED
  • [% END %] [% IF ( gonenoaddress ) %]
  • Patron's address is in doubt
  • [% END %] -- 2.39.2