From 0da1c645d2c833aae7ef297c0d8b23fac8006c6f 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 --- koha-tmpl/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 17a20d4..ec5f99b 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 %] -- 1.9.1