[Koha-bugs] [Bug 14395] Two different ways to calculate 'No renewal before' (days or hours)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 18 10:30:52 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14395
Holger Meißner <h.meissner.82 at web.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #43811|0 |1
is obsolete| |
--- Comment #40 from Holger Meißner <h.meissner.82 at web.de> ---
Created attachment 44951
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44951&action=edit
Bug 14395: Code changes
This patch updates the calculation of 'No renewal before' to include the
new syspref NoRenewalBeforePrecision.
To test:
1) Check out an hour-based loan with 'No renewal before' set to 1.
Switch syspref NoRenewalBeforePrecision between 'date' and 'exact
time'. Confirm that with both settings the item cannot be renewed
until exactly one hour before due.
2) Check out a day-based loan with 'No renewal before' set to 1 day.
Confirm that:
* with NoRenewalBeforePrecision set to 'date', renewal is possible
at 12:00 AM on the day before due.
* with NoRenewalBeforePrecision set to 'exact time', renewal is
possible at 11:59 PM on the day before due.
Sponsored-by: Hochschule für Gesundheit (hsg), Germany
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list