]> git.koha-community.org Git - koha.git/commit
Bug 26956: Allow guarantor's controls to be set when a guarantee is created
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 2 Dec 2020 09:34:50 +0000 (10:34 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 30 Dec 2020 14:37:23 +0000 (15:37 +0100)
commita91ca451224aac8435aa3c3ff2ef3f2415093466
treee7761df47ea8d1d3165b99b67523a1aaf5723ca3
parentd97b64c83db7ab1740e43af55c243c075e1f359d
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 <kelly@bywatersolutions.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 6a461382ba944a8e9f4a7c4e534dca74745f0f55)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt