From e5ec92bf06a5336149ef78c25ef816771f8cdcf7 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 4 Apr 2023 15:43:41 +0000 Subject: [PATCH] Bug 33398: Add primary_contact_method to display when triggering a waiting hold To test: 1. Apply patch, yarn build 2. Trigger a waiting hold for a patron that has a value for primary_contact_method 3. Notice the modal now includes a line indicating the primary_contact_method. 4. Trigger a hold for a patron without a primary_contact_method. Nothing should display. Signed-off-by: Laura Escamilla Signed-off-by: Kyle M Hall --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 3 ++- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index ab0a8f9e3e..1f2009b210 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -483,7 +483,8 @@ form { } } - .notification_method { + .notification_method, + #main_contact_method { background-color: #FFE; border: 1px solid #CCC; border-radius: 5px; 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 8b686caf94..bbfb09fab8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -813,6 +813,9 @@ [% UNLESS ( transfertodo) %] [% INCLUDE display_bormessagepref %] + [% IF patron.primary_contact_method %] +
  • Main contact method: [% patron.primary_contact_method | html %]
  • + [% END %] [% END %] [% IF ( patron.is_debarred ) %] -- 2.30.2