https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27080
Timothy Alexis Vass <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #114322|0 |1 is obsolete| | --- Comment #22 from Timothy Alexis Vass <[email protected]> --- Created attachment 114323 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114323&action=edit Bug 27080: Add --statute-barred-fees option to cleanup_database.pl. According to Swedish law, fees become statute-barred after 3 years if the material has been returned. With this option, we can use cleanup_database.pl to purge those from accountlines. To test: 1) You will need at least one record in the accountlines table WHERE status = 'RETURNED' AND amountoutstanding > 0. 2) Run ./misc/cronjobs/cleanup_database.pl --statute-barred-fees DAYS Where DAYS is 1 or greater. This will delete records from accountlines WHERE date is DAYS day(s) or older. 3) Confirm that records have been deleted. Sponsored-by: Lunds Universitetsbibliotek -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
