From 75a74d4fafa26aee82dfcc915a0f4d37277117b1 Mon Sep 17 00:00:00 2001 From: Laura_Escamilla Date: Mon, 22 Jul 2024 16:52:31 +0000 Subject: [PATCH] Bug 37144: Added permission to circ returns --- .../intranet-tmpl/prog/en/modules/circ/returns.tt | 14 ++++++++++++++ 1 file changed, 14 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 7091e5ef8e..996e5a3fe8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -81,6 +81,8 @@ - [% patron.category.description | html %] + [% IF CAN_user_view_contact_information %] + [% INCLUDE display_holdpatron_address %] [% IF ( patron.phone ) %] @@ -96,6 +98,7 @@ [% END %] [% END %] + [% END %] [% UNLESS ( transfertodo) %] [% INCLUDE display_bormessagepref %] @@ -654,10 +657,12 @@ [% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 invert_name=1 link_to="circulation_reserves" %] - [% patron.category.description | html %] + [% IF CAN_user_view_contact_information %] [% INCLUDE display_holdpatron_address %] [% IF ( patron.phone ) %]
  • [% patron.phone | html %]
  • [% END %] + [% END %] [% IF ( patron.email ) %]
  • [% patron.email | html %]
  • @@ -837,6 +842,8 @@ - [% patron.category.description | html %] + [% IF CAN_user_view_contact_information %] + [% INCLUDE display_holdpatron_address %] [% IF ( patron.phone ) %] @@ -852,6 +859,7 @@ [% END %] [% END %] + [% END %] [% UNLESS ( transfertodo) %] [% INCLUDE display_bormessagepref %] @@ -956,11 +964,14 @@ - [% recall.patron.category.description | html %] + [% IF CAN_user_view_contact_information %] + [% INCLUDE display_holdpatron_address patron=recall.patron %] [% IF ( recall.patron.phone ) %]
  • [% recall.patron.phone | html %]
  • [% END %] + [% END %] [% IF ( recall.patron.email ) %]
  • @@ -1059,6 +1070,8 @@ - [% recall.patron.category.description | html %]
  • + [% IF CAN_user_view_contact_information %] + [% INCLUDE display_holdpatron_address patron=recall.patron %] [% IF ( recall.patron.phone ) %] @@ -1074,6 +1087,7 @@ [% END %] [% END %] + [% END %] [% UNLESS ( transfertodo) %] [% INCLUDE display_bormessagepref %] -- 2.39.2