]> git.koha-community.org Git - koha.git/commit
Tweak ceilingDueDate and CalcDateDue
authorMichael Hafen <mdhafen@tech.washk12.org>
Wed, 29 Apr 2009 22:02:11 +0000 (16:02 -0600)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:15:29 +0000 (21:15 +0200)
commit5d2ad73e98e3842881bfc040bb231d170f1b9cae
treeb0bac2fb6163be334b2f4891a57dea935cb5adb4
parenteb6668200c92bb9cddc5619145f74f12521b74a7
Tweak ceilingDueDate and CalcDateDue

This patch moves ceilingDueDate and ReturnBeforeExpiry checking into
CalcDateDue(), so the renewal due date is also calculated with those.

Also restores a check in CanBookBeIssued.  If the due date isn't given
call CalcDateDue and make sure it's not in the past.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/Circulation.pm