]> git.koha-community.org Git - koha.git/commit
change the date calc, to set the date_due to date_due+loanlength.
authorNahuel Angelinetti <nahuel.angelinetti@biblibre.com>
Fri, 6 Mar 2009 10:38:03 +0000 (11:38 +0100)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 11 May 2009 20:16:34 +0000 (15:16 -0500)
commit3587400ea7a90517ccd184d2e60668e0e0d1c5db
tree49b85d23bd37510a3e58ee60eeab8d14c4644f7d
parent0664bc6a7a092ae98dc379471b457dc23523108f
change the date calc, to set the date_due to date_due+loanlength.

At the moment when you renew a document the date_due calculated is now+loanlength, but it's a bad thing, It should be
date_due+loanlength.
This patch do change Circulation.pm to use the date_due as renew base and add the loanlength to get the new date_due after
renewal.

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