[Koha] More questions about fines
George Adams
g_adams27 at hotmail.com
Sat Mar 1 07:42:57 NZDT 2008
Sorry, should've mentioned that - 3.0 alpha
Date: Fri, 29 Feb 2008 08:06:02 -0800
From: ohiocore at gmail.com
To: g_adams27 at hotmail.com
Subject: Re: [Koha] More questions about fines
CC: koha at lists.katipo.co.nz
What version of Koha are you running?
On Thu, Feb 28, 2008 at 2:04 PM, George Adams <g_adams27 at hotmail.com> wrote:
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!
_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20080229/7dfb9e38/attachment-0001.htm
More information about the Koha
mailing list