http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15582

--- Comment #1 from Jonathan Druart <[email protected]> 
---
Created attachment 46693
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46693&action=edit
Bug 15582: Ability to block auto renewals if the max outstanding balance is
reached

If a patron owes more than the max outstanding balance (defined in the
maxoutstanding syspref), the issue won't be auto renewed anymore (driven
by the new pref MaxOutstandingBlockAutoRenew).

Test plan:
Note: You will have to manually change data in your DB, make sure you
have access to the sql cli.
1/ Set the maxoutstanding to 5 (for instance)
2/ Set MaxOutstandingBlockAutoRenew to block
3/ Check an item out to a patron and mark is as an auto renewal
4/ Make sure the patron does not have any fees or charges.
5/ Execute the automatic renewals cronjob script
(misc/cronjobs/automatic_renewals.pl)
Confirm that the issue has been renewed
6/ Create an invoice for this patron with a amount > maxoustanding (6
for instance)
7/ Execute the automatic renewals cronjob script
(misc/cronjobs/automatic_renewals.pl)
Confirm that the issue has not been renewed.
8/ Set MaxOutstandingBlockAutoRenew to allow
9/ Execute the automatic renewals cronjob script
(misc/cronjobs/automatic_renewals.pl)
Confirm that the issue has been renewed

Sponsored-by: University of the Arts London

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/

Reply via email to