[Koha-devel] [Koha-patches] [PATCH] include grace period when calculating overdue fine

Steve Wills swills at beyond-print.com
Thu Sep 3 20:40:37 CEST 2009


no. I think the grace period helps to determine when the fine is applied but not the amount of the fine.


The fine_amount should be based on the duration between the due date and today. (due_date - today)


the grace_end_date is grace_days after due_date. (due_date + grace_days)


if today is less than or equal to grace_end_date, no fine.
if today is after grace_end_date, fine_amount is charged as defined above.


On a human note: I think that unless you are a meanie, it is human nature to try and give the patron a break, but strictly speaking, the grace period has nothing to do with the amount of the fine. At our library, there is no grace period but fines are never collected! Bringing the book back is always "good enough". LOL!


Stev3






-----Original Message-----
From: Galen Charlton [mailto:gmcharlt at gmail.com]
Sent: Thursday, September 3, 2009 12:01 PM
To: 'Steve Wills'
Cc: 'Michael Hafen', koha-devel at lists.koha.org
Subject: Re: [Koha-devel] [Koha-patches] [PATCH] include grace period when calculating overdue fine

Hi,2009/9/3 Steve Wills :> If I understand this issue correctly, I would agree that the logic should> be:> item overdue = due_date - today.> Grace period calculations only come into play if the item is overdue to> discount the fine when applicable.> 2 cents.To clarify, are you saying that in your opinion the grace period*should* be subtracted when calculating the number of days to base theoverdue fine on?Regards,Galen-- Galen Charltongmcharlt at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20090903/32f864b6/attachment-0003.htm>


More information about the Koha-devel mailing list