Bug 36216

Summary: Hide Show checkouts/charges to guarantor when not necessary
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: aude.charillon, gmcharlt, kyle.m.hall, philippe.blouin
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Caroline Cyr La Rose 2024-03-01 17:44:42 UTC
In the patron file (moremember.pl), there is always "Show checkouts to guarantor" and "Show charges to guarantor", even if the library doesn't use the guarantor feature.

If AllowStaffToSetCheckoutsVisibilityForGuarantor and AllowPatronToSetCheckoutsVisibilityForGuarantor are both set to "Don't allow", or if the patron has no guarantor, I think the "Show checkouts to guarantor" field should be hidden.

Same for AllowStaffToSetFinesVisibilityForGuarantor and AllowPatronToSetFinesVisibilityForGuarantor. If both are set to "Don't allow" or if the patron has no guarantor, the "Show charges to guarantor" should be hidden.

I'm thinking especially of academic libraries and special libraries, this is useless information that shows in the patron file.
Comment 1 Aude Charillon 2024-08-05 15:30:38 UTC
I agree with Caroline; we have also had this comment from special libraries.