[Koha-bugs] [Bug 27049] Add a script to bulk writeoff debts
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 14 13:58:41 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27049
--- Comment #8 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
So, the idea here in most cases now is that it could be used via the CRON to
allow for regular cleanup/writeoff of debts after a certain period of time has
passed (allowing for subsequent cleanup of borrower via
/misc/cronjobs/delete_patrons.pl and /misc/cronjobs/cleanup_database.pl).
So, for example.. if you want to automatically writeoff unpaid overdues when
they've been dormant for 18 months.. you could add the following to the corn.
./writeoff_debts.pl --added_before $(date -d '-18 month' --iso-8601) --type
OVERDUE --confirm
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list