From 44e9ee4c14a01df7b57a706d12f296b30debc6f4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 2 Dec 2020 10:34:50 +0100 Subject: [PATCH] Bug 26956: Allow guarantor's controls to be set when a guarantee is created With AllowStaffToSetCheckoutsVisibilityForGuarantor and AllowStaffToSetFinesVisibilityForGuarantor set to Allow, one can only see the controls for these values in the patron record *after* the patron has been saved with a guarantor. That makes a frustrating 2-step process. We should be able to set those values regardless of whether or not there is currently a guarantor on the account. Test plan: Create a guarantee and confirm that the 2 options "Show checkouts to guarantors" and "Show fines to guarantors" are displayed Select Yes, save Confirm that the values have been correctly saved Signed-off-by: Kelly McElligott --- koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 2db0de5408..60aecfe116 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -533,7 +533,7 @@ legend:hover { Add guarantor - [% IF relationships && Koha.Preference('AllowStaffToSetCheckoutsVisibilityForGuarantor') %] + [% IF Koha.Preference('AllowStaffToSetCheckoutsVisibilityForGuarantor') %]
  • -- 2.11.0