[Koha] More questions about fines
George Adams
g_adams27 at hotmail.com
Fri Feb 29 11:04:58 NZDT 2008
I'm trying to setup fines rules such that a patron gets a 7 day grace period after their due date, then starts getting charged $0.50 every week that the book isn't checked in. (This is for a church library, so the days when a patron can check in a late book are limited. Hence, I only want to bump the fine up every 7 days).
So for instance if your book was due on Feb. 1, you should get a grace period for a week. Then, on Feb. 8 you get your first $0.50 fine. A week later on Feb. 15 you get another $0.50 fine.
So I setup the fines rules for all types as "0.5,7,7". According to the docs, this should generate a $0.50 fine every 7 days after the 7-day grace period has expired.
But when running cronjobs/fines2.pl with a test checkout, it didn't turn out the way I expected. Here are the results.
Today is Feb 28 (close-of-business)
Book was due on:
Feb 27, so fine = $0 (1 day overdue)
Feb 26, so fine = $0 (2 days overdue)
Feb 25, so fine = $0 (3 days overdue)
Feb 24, so fine = $0 (4 days overdue)
Feb 23, so fine = $0 (5 days overdue)
Feb 22, so fine = $0 (6 days overdue)
Feb 21, so fine = $0 (7 days overdue)
Feb 20, so fine = $0 (8 days overdue)
Feb 19, so fine = $0 (9 days overdue)
Feb 18, so fine = $0 (10 days overdue)
Feb 17, so fine = $0 (11 days overdue)
Feb 16, so fine = $0 (12 days overdue)
Feb 15, so fine = $0 (13 days overdue)
Feb 14, so fine = $0.50 (14 days overdue)*
Feb 13, so fine = $0.50 (15 days overdue)
Feb 12, so fine = $0.50 (16 days overdue)
Feb 11, so fine = $0.50 (17 days overdue)
Feb 10, so fine = $0.50 (18 days overdue)
Feb 09, so fine = $0.50 (19 days overdue)
Feb 08, so fine = $0.50 (20 days overdue)
Feb 07, so fine = $1.00 (21 days overdue)*
Feb 06, so fine = $1.00 (22 days overdue)
Feb 05, so fine = $1.00 (23 days overdue)
Feb 04, so fine = $1.00 (24 days overdue)
Feb 03, so fine = $1.00 (25 days overdue)
The fine is kicking in on the 14th day, rather than the 7th day as I had intended. Is this a bug, or am I misunderstanding the Koha fine rules?
(update: I seem to get what I want setting the rules to "0.5,0,7". But according to the documentation, that's the equivalent of saying "a $0.50 fine after 0 days every 7 days". That doesn't sound right.)
Thanks!
More information about the Koha
mailing list