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)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 19 Dec 2019 21:51:03 +0000 (21:51 +0000)
commit1bf0904d2817c250ec7ef70667c7631e4f24d12f
tree58946c642ab3b5d0e54420414ebb0420db27beba
parentc589da3c2931bbe0cc1c4f31899b71044c860082
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>
C4/Circulation.pm