]> git.koha-community.org Git - koha.git/commit
Bug 11580 - If returnBeforeExpiry is ON, use calendar to calculate return date not...
authorSophie Meynieux <sophie.meynieux@biblibre.com>
Wed, 16 Nov 2016 15:46:04 +0000 (16:46 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Sep 2017 16:00:07 +0000 (13:00 -0300)
commit391bf4f38dcaa89745115409d01cca9cd1e99dce
tree081c302a92ba6caf5cb51ace17e2394107dcfb40
parentf24e339dd603e015557107048d1a678293cb2e65
Bug 11580 - If returnBeforeExpiry is ON, use calendar to calculate return date not on closed day (depending on useDaysMode)

Test plan:
1. ReturnBeforeExpiry is activated
2. useDaysMode is different from "circulation rules only"
3. Set expiry date of a patron to a near date
4. Set a closed day on calendar for this date
5. Do a checkout

Without patch, return date will be patron expiration date
With the patch, return date will be last open day before patron expiration day

Signed-off-by: Claire Gravely <claire_gravely@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm