From bb30626c49467d159648189d2a62e7371034ae23 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 Signed-off-by: Tomas Cohen Arazi --- 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 de8c27a434..abbc4a82b7 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 10939439dc..0028507470 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -815,6 +815,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.39.5