From 2478ba03f064b70e03da9c6ca3667c8b5fd37403 Mon Sep 17 00:00:00 2001 From: David Roberts Date: Sun, 3 May 2020 23:48:09 +0000 Subject: [PATCH] Bug 25336: Show checkouts/fines to guarantor is in the wrong section of the patron file This patch moves the "Show checkouts to guarantor" and "Show fines to guarantor" data to display under the Contact information block To test: 1) Enable the AllowStaffToSetCheckoutsVisibilityForGuarantor and AllowStaffToSetFinesVisibilityForGuarantor system preferences to Allow 2) View a patron record. 3) The "Show checkouts to guarantor" and "Show fines to guarantor" field will be on the right hand side of the screen under the Library use block. 4) Apply patch 5) Check that this data has now moved to the Contact information block on the left hand side of the patron record. Works for me! Signed-off-by: Caroline Cyr La Rose Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart (cherry picked from commit 3abc4fb8584e0df2b71dd9d38f033e34b205e829) Signed-off-by: Lucas Gass --- .../prog/en/modules/members/moremember.tt | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index a03c1bd5e4..3c132f6040 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -259,6 +259,24 @@ [% END %] [% END %] +
  • + Show checkouts to guarantor + [% IF patron.privacy_guarantor_checkouts %] + Yes + [% ELSE %] + No + [% END %] +
  • + +
  • + Show fines to guarantor + [% IF patron.privacy_guarantor_fines %] + Yes + [% ELSE %] + No + [% END %] +
  • + [% IF guarantees %]
  • Guarantees: @@ -499,24 +517,6 @@
  • [% END %] -
  • - Show checkouts to guarantor - [% IF patron.privacy_guarantor_checkouts %] - Yes - [% ELSE %] - No - [% END %] -
  • - -
  • - Show fines to guarantor - [% IF patron.privacy_guarantor_fines %] - Yes - [% ELSE %] - No - [% END %] -
  • - [% IF ( patron.sort1 ) %]
  • Sort field 1: -- 2.39.5