[Koha-bugs] [Bug 7852] Hourly loan fines are not working

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 2 19:03:09 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7852

Kyle M Hall <kyle.m.hall at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8780|0                           |1
        is obsolete|                            |

--- Comment #4 from Kyle M Hall <kyle.m.hall at gmail.com> ---
Created attachment 8782
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8782&action=edit
[Signed-Off] Use hour or day deltas to calculate overdue durations

If durations are calculated by subtraction they will use units
larger than those we care about and these are not convertable
to the smaller units we are attempting to enumerate
Use the appropriate delta methods to calculate theee fines

Adds a separate hours_between method to calendar
This should strictly be checking opening hours (of which
closed days are a special case) of the relevant branch
These need adding to branches

http://bugs.koha-community.org/show_bug.cgi?id=7852
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list