[Koha-bugs] [Bug 14402] Add --fees option to cleanup_database.pl to purge all 0 balance fees and payments older than the given number of days
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Jul 18 22:37:03 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14402
--- Comment #6 from Barton Chittenden <barton at bywatersolutions.com> ---
Created attachment 41088
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41088&action=edit
Add option --fees to /misc/cronjobs/cleanup_database.pl
This will call C4::Accounts::purge_zero_balance_fees to remove all rows
from accountlines which have 0 balance, and are more than DAYS old.
Test plan:
Run: t/db_dependent/Accounts.t
If all unit tests pass, the --fees option to /misc/cronjobs/cleanup_database.pl
should act as documented, because it is a straight pass-through to
C4::Accounts::purge_zero_balance_fees().
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list