Bug 40485

Summary: Hide '+Add guarantee' button on patron details if no patron category can be guarantee
Product: Koha Reporter: hebah
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description hebah 2025-07-23 18:14:39 UTC
Some libraries don't use guarantor/guarantees. If no patron category is set to 'can be guarantee,' the option to add a guarantee from patron details should be hidden.

Broad application would be if no patron categories in a site can be guarantees, but it should probably honor if any patron categories available to that logged-in branch cannot be guarantees.