Bugzilla – Attachment 180977 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.30 KB, created by
Lucas Gass (lukeg)
on 2025-04-15 16:58:20 UTC
(
hide
)
Description:
Bug 39642: Add SMS number to holds modals on return.tt
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-04-15 16:58:20 UTC
Size:
2.30 KB
patch
obsolete
>From e021f93d4108acce30455131c780e1cbfb1c6a3c 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. >--- > 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 d2b1f676784..9dd59757612 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