Bug 37690

Summary: Add system preferences for debar_patrons_with_fines.pl
Product: Koha Reporter: Sara Brown <sbrown>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt
Version: 24.05   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37689
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15157
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37698
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Sara Brown 2024-08-20 17:19:37 UTC
With the introduction of debar_patrons_with_fines.pl, there should be system preferences added so that libraries can control some settings from the staff interface. This could be something like:

<<"[Do/Don't] automatically restrict patrons if they owe over [amount]. Use the message [message here] as the restriction message." NOTE: This system preference requires the misc/cronjobs/debar_patrons_with_fines.pl cronjob. Ask your system administrator to schedule it.>>

System preferences that are set up similarly for reference: PurgeSuggestionsOlderThan, AuthorityMergeLimit, AutoResumeSuspendedHolds, StaticHoldsQueueWeight/HoldsQueueSkipClosed/RandomizeHoldsQueueWeight. 

Also filing 37689 to add the ability to choose restriction type, so if that becomes possible, the system preference could also include "Use the [choose from restriction types] restriction."