[Koha-bugs] [Bug 6796] Overnight checkouts taking into account opening and closing hours

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 10 06:09:06 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6796

Aleisha Amohia <aleisha at catalyst.net.nz> changed:

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

--- Comment #65 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 156777
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156777&action=edit
Bug 6796: Don't add a day if hourly loan period pushes due date

If ConsiderLibraryHoursWhenIssuing is set to shorten the loan period to
the closing time, if the loan period initially pushes the due date to
the following day, the day still gets added when calculating the due
date. We simply need to hardcode the due time here as the due day is the
same as the issue day.

We only need to calculate a due date if ConsiderLibraryHoursWhenIssuing
is set to extend the loan period to the next opening day, as we'll need
to consider holidays/closed days.

Signed-off-by: Sam Lau <samalau at gmail.com>

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


More information about the Koha-bugs mailing list