From 3b185c7c008802db627e22992b4cc9f8ea85a9c8 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 27 Jun 2025 13:58:52 +0000 Subject: [PATCH] Bug 39642: Add SMS number to holds modals on return.tt To test: 0. APPLY PACTH 1. Set SMSSendDriver to test. 2. Find a patron record and add the smsalertnumber 3. Place a hold for that patron. 4. Trigger the hold when it is waiting. 5. Notice the SMS number is included in the Hold for: section of the modal. 6. Change branches so the hold will need a transfer. 7. Check it in, and notice the SMS number is again included in the Hold for: section of the modal. Signed-off-by: Owen Leonard --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 0309793b6fe..c7fe450c98e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -685,11 +685,14 @@ [% IF ( patron.phone ) %]
  • [% patron.phone | html %]
  • [% END %] - [% IF ( patron.email ) %]
  • [% patron.email | html %]
  • [% END %] + [% IF ( patron.smsalertnumber ) %] +
  • [% patron.smsalertnumber | html %]
  • + [% END %] + [% IF ( patron.is_debarred ) %]
  • Patron is RESTRICTED
  • [% END %] @@ -890,6 +893,10 @@ [% END %] + [% IF ( patron.smsalertnumber ) %] +
  • [% patron.smsalertnumber | html %]
  • + [% END %] + [% UNLESS ( transfertodo) %] [% INCLUDE display_bormessagepref %] [% IF patron.primary_contact_method %] -- 2.39.5