[Koha-bugs] [Bug 8110] Fines accruing on closed days

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 21 15:32:40 CEST 2012


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

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |julian.maurice at biblibre.com

--- Comment #28 from Julian Maurice <julian.maurice at biblibre.com> ---
This is not working but this is not related to the patch.
Subroutine Koha::Calendar::days_between "truncate to days" both start date and
end date. So if my item is due since 2012-05-21 and I want to calculate fine at
2012-06-21, $duration will be 0 instead of 30. So this ends in days_between
returning -4 (because of 4 sundays defined in calendar as holidays).
Why truncating date here?

I mark this bug as Failed QA because fines.pl still don't work correctly.

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


More information about the Koha-bugs mailing list