debar_patrons_with_fines.pl - Creates a debarment for all Patrons who have outstanding fines.
debar_patrons_with_fines.pl --help debar_patrons_with_fines.pl -m "Message for user" debar_patrons_with_fines.pl -f "/var/lib/koha/site/debar_message.txt" debar_patrons_with_fines.pl -m "Message for user" -e '2022-12-31'
This script can be used to automatically debar patrons who have an outstanding debt to the library.
Display the help message and exit
Sets the minimum amount the patron owes before we debar them. Defaults to 0, meaning anyone that owes anything will be debared.
Add the passed message in the debarment comment
Add the content of the passed file in the debarment comment
Expire the added debarment on the passed date
Confirm that the script should actually undertake the debarments