Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

How is the overdue fine calculated?

Step 1: Determine if there is a reason to calculate an overdue fine.   Was item returned/renewed after the due date?  If item renewed late, is Forgive overdue fine if item renewed in Overdue Fine Policy set to “Yes” or “No”?  We don’t want to use the processing time if we don’t need to.

Step 2: A module is called to calculate how many minutes have elapsed between the due date/time and returned/renewed date/time.  (We calculate everything as minutes and convert it to hours, days, weeks, etc. at the end.)

Step 3:  The overdue fee calculation module then determines if the item was returned/renewed within the grace period.  The grace period is converted to minutes and compared with the overdue minutes calculated in Step 2 above.  If the item was recalled, the grace period is only considered if Ignore grace period for recalls setting in Overdue Fine Policy is set to “No.”

Step 4:  If item was not returned/renewed within the grace period, or grace period is to be ignored, need to see if closed time should be excluded. If Count closed days/hours/minutes setting in Overdue Fine Policy set to “No”, then the minutes the library was closed need to be subtracted from the overdue minutes calculated in Step 2 above.

Step 5:  Now we are ready to calculate the overdue fine.  The overdue minutes calculated in Step 4 above are then divided by the interval set in the Overdue Fine Policy for the Overdue fine or Overdue recall fine.

...

    overdueInterval = overdueMinutes

Step 6:  The result of Step 4 is rounded up to the next hour, day, week, month.  In other words, the patron is charged for an entire hour if they bring an item back a minute into that hour.  (Example:  If a book is overdue 7,886 minutes, and the Overdue fine interval for the book is Day(s), we would need to divide 7,886 by 1,440, which is 5.48. We would not charge for 5.48 days (which is 5 days plus a partial day) or round down to 5 days, but rather we would round up to 6 days. The patron did not return the book on the 5th day so it is 6 days overdue.)

Step 7:  The Loan History and Loan Details pages will display the overdue fine as “Fine incurred.” The fee/fine record created is available to be viewed in Fees/Fines History and Fee/Fine Details.

...