Bugzilla – Attachment 180994 Details for
Bug 39642
Add SMS number to hold found modals on return.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39642: Add SMS number to holds modals on return.tt
Bug-39642-Add-SMS-number-to-holds-modals-on-return.patch (text/plain), 2.35 KB, created by
Owen Leonard
on 2025-04-15 19:41:11 UTC
(
hide
)
Description:
Bug 39642: Add SMS number to holds modals on return.tt
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-04-15 19:41:11 UTC
Size:
2.35 KB
patch
obsolete
>From 4d1ac15e6e2471c4b426b3f267e6837846df077b Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 15 Apr 2025 16:55:44 +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 <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 8 ++++++++ > 1 file changed, 8 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 d2b1f67678..9dd5975761 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -689,6 +689,10 @@ > <li><a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a></li> > [% END %] > >+ [% IF ( patron.smsalertnumber ) %] >+ <li><a id="borsmsalertnumber" href="tel:[% patron.smsalertnumber | html %]">[% patron.smsalertnumber | html %]</a></li> >+ [% END %] >+ > [% IF ( patron.is_debarred ) %] > <li class="error">Patron is RESTRICTED</li> > [% END %] >@@ -888,6 +892,10 @@ > </li> > [% END %] > >+ [% IF ( patron.smsalertnumber ) %] >+ <li><a id="borsmsalertnumber" href="tel:[% patron.smsalertnumber | html %]">[% patron.smsalertnumber | html %]</a></li> >+ [% END %] >+ > [% UNLESS ( transfertodo) %] > [% INCLUDE display_bormessagepref %] > [% IF patron.primary_contact_method %] >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39642
:
180977
|
180994
|
183605