From 5b92b6ecde498bdd321ea0940bd8bd3bb363d572 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 25 Jun 2021 12:53:35 -0400 Subject: [PATCH] Bug 26282: Show reason only if notice exists Rebased-by: Victor Grousset/tuxayo --- .../intranet-tmpl/prog/en/includes/holds_table.inc | 8 ++++++++ .../intranet-tmpl/prog/en/modules/reserve/request.tt | 10 ++++++---- reserve/request.pl | 10 ++++++++++ 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc index 26edf3bf79c..1f40b662a32 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc @@ -93,6 +93,14 @@ [% hold.priority | html %] [% END %] + + [% IF cancel_notice_branches.size %] + [% SET bc = hold.patron.branchcode %] + [% SET all_bc = "" %] + [% UNLESS cancel_notice_branches.$bc || cancel_notice_branches.$all_bc %] + Cancellation will not recieve a notice. + [% END %] + [% END %] [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%] [%- UNLESS hold.found -%] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index af7bc83928a..88e9496f7ad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1256,7 +1256,7 @@