change the date calc, to set the date_due to date_due+loanlength.
authorNahuel Angelinetti <nahuel.angelinetti@biblibre.com>
Mon, 10 Nov 2008 11:54:12 +0000 (12:54 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Fri, 6 Mar 2009 09:53:00 +0000 (10:53 +0100)
commitd2d103195c885c1a3084f032c8a18761d1abf5f7
treefb7bcbf390be4b925ede8bbe4addf62a996bf651
parent53866c515064d0702af757f97695815589f3101a
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>
C4/Circulation.pm