From cdd763d1df61973620f8d75ce8738c396d70c89e 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 Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Jonathan Druart (cherry picked from commit 6a461382ba944a8e9f4a7c4e534dca74745f0f55) Signed-off-by: Fridolin Somers (cherry picked from commit a91ca451224aac8435aa3c3ff2ef3f2415093466) Signed-off-by: Andrew Fuerste-Henry --- .../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 b65bbfa93f..1ae3d7a7b1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -559,7 +559,7 @@ legend:hover { Search to add - [% IF relationships && Koha.Preference('AllowStaffToSetCheckoutsVisibilityForGuarantor') %] + [% IF Koha.Preference('AllowStaffToSetCheckoutsVisibilityForGuarantor') %]
  • -- 2.39.5