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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 10 Dec 2019 16:14:42 +0000 (16:14 +0000)
commitfc72ce1a5fcc002b0e1b0e399d66b2ac8afdcf51
tree0bb6ff1839e9237163a2bad79b6b5ebc85575040
parent20a8cac651a2844bc8e16e751ef2c81193d0607e
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>
C4/Circulation.pm