Bug 24138: Move the calculation out of the sub
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 29 Nov 2019 12:55:27 +0000 (13:55 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 20 Dec 2019 17:12:52 +0000 (17:12 +0000)
commit6b25590ea133c0450ff4b28300f61dec05dad003
treec19cbd318b4a30f0a5b455f48bd3c903b956ddd7
parent837604d935f355904b46a878469390ab4a858c03
Bug 24138: Move the calculation out of the sub

No changes expected here. For the next patch we are going to need to add
test and calculate the new debarment date. To ease the writing of these
tests the calculation is moved out of the existing subroutine.

Signed-off-by: Hugo Agud <hagud@orex.es>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 1bf0904d2817c250ec7ef70667c7631e4f24d12f)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Circulation.pm