[Koha-bugs] [Bug 11144] Switch order of overdues and fines cronjob for packages and in crontab.example

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 4 16:09:21 CET 2013


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

--- Comment #2 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
This is a simple patch, but not trivial to test if you want to make sure it
works as before. What you could do:

Add fines and notices configuration to your installation
- Add circulation condition: 
    fine inverval 1, 
    fine 1.50, 
    grace period 0, 
    fines cap 3.00
- Checkout an item with due date yesterday
- Add an overdue notice letter that includes <<items.fine>>
- Add notice triggers with a delay matching your overdue item - 1
- Make sure finesmode is set to calculate
- Make sure patron has right patron category and email address

Edit crontab example to make it run not shortly after 1, but more suitable to
your testing time. [This is cheating a bit, but not sure how to do this in a
better way]

Wait until it has run.
- Check the fine is there
- Check the overdue letter for the fine
Before the patch, the fine is not printed.
- Update your crontab using the new example
- [Change time for it to be run]
- Repeat test. Fine should be printed now.

For installations using the packages a similar test can be done.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list