<<

NAME

debar_patrons_with_fines.pl - Creates a debarment for all Patrons who have outstanding fines.

SYNOPSIS

    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'

DESCRIPTION

This script can be used to automatically debar patrons who have an outstanding debt to the library.

OPTIONS

-h|--help

Display the help message and exit

-a|--amount

Sets the minimum amount the patron owes before we debar them. Defaults to 0, meaning anyone that owes anything will be debared.

-m|--message

Add the passed message in the debarment comment

-f|--messagefile

Add the content of the passed file in the debarment comment

-e|--expiration

Expire the added debarment on the passed date

-c|--confirm

Confirm that the script should actually undertake the debarments

<<