]> git.koha-community.org Git - koha.git/commit
Bug 14395: Add new syspref NoRenewalBeforePrecision
authorHolger Meißner <h.meissner.82@web.de>
Wed, 15 Jul 2015 08:49:41 +0000 (10:49 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 26 Feb 2016 14:28:40 +0000 (14:28 +0000)
commit77abb023cb396d96f5362df46a633ed0d5d1a386
treef68be7b8fa86bfc852d4127b4981e3706474b522
parent4489270c5157c40ab0c2b9947ab5a4b9b0b9a57a
Bug 14395: Add new syspref NoRenewalBeforePrecision

Currently the 'NoRenwalBefore' setting is always based on the exact
DateTime of the due date. This patch introduces a new global syspref for
choosing if 'NoRenewalBefore' should instead be calculated based on date
only. This is only relevant for loans caluclated in days. Hourly loans
are not affected.

To test:

1) Apply bug 14101, then apply this patch.

2) Run installer/data/mysql/updatedatabase.pl

3) Confirm that a new syspref NoRenewalBeforePrecision is available
   in administration. It should let you choose between 'date' (default)
   and 'exact time'.

Sponsored-by: Hochschule für Gesundheit (hsg), Germany
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_14395-add-NoRenewalBeforePrecision-syspref.sql [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref