What version of Koha are you running?<br><br><div class="gmail_quote">On Thu, Feb 28, 2008 at 2:04 PM, George Adams <<a href="mailto:g_adams27@hotmail.com">g_adams27@hotmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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).<br>
<br>
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.<br>
<br>
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.<br>
<br>
But when running cronjobs/fines2.pl with a test checkout, it didn't turn out the way I expected. Here are the results.<br>
<br>
Today is Feb 28 (close-of-business)<br>
Book was due on:<br>
Feb 27, so fine = $0 (1 day overdue)<br>
Feb 26, so fine = $0 (2 days overdue)<br>
Feb 25, so fine = $0 (3 days overdue)<br>
Feb 24, so fine = $0 (4 days overdue)<br>
Feb 23, so fine = $0 (5 days overdue)<br>
Feb 22, so fine = $0 (6 days overdue)<br>
Feb 21, so fine = $0 (7 days overdue)<br>
Feb 20, so fine = $0 (8 days overdue)<br>
Feb 19, so fine = $0 (9 days overdue)<br>
Feb 18, so fine = $0 (10 days overdue)<br>
Feb 17, so fine = $0 (11 days overdue)<br>
Feb 16, so fine = $0 (12 days overdue)<br>
Feb 15, so fine = $0 (13 days overdue)<br>
Feb 14, so fine = $0.50 (14 days overdue)*<br>
Feb 13, so fine = $0.50 (15 days overdue)<br>
Feb 12, so fine = $0.50 (16 days overdue)<br>
Feb 11, so fine = $0.50 (17 days overdue)<br>
Feb 10, so fine = $0.50 (18 days overdue)<br>
Feb 09, so fine = $0.50 (19 days overdue)<br>
Feb 08, so fine = $0.50 (20 days overdue)<br>
Feb 07, so fine = $1.00 (21 days overdue)*<br>
Feb 06, so fine = $1.00 (22 days overdue)<br>
Feb 05, so fine = $1.00 (23 days overdue)<br>
Feb 04, so fine = $1.00 (24 days overdue)<br>
Feb 03, so fine = $1.00 (25 days overdue)<br>
<br>
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?<br>
<br>
(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.)<br>
<br>
Thanks!<br>
_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</blockquote></div><br>