Bug 20912: (follow-up) Prevent double charging on renewal
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 20 Feb 2019 08:49:44 +0000 (08:49 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 7 Mar 2019 17:29:58 +0000 (17:29 +0000)
commit2802f20e386e6e51341a1ef77b1225f858b0d1c6
tree98ef18481a783b270f365f9c01db47d20771bf80
parent6be54ad1206491fc9c449b03a8249f8a75c14713
Bug 20912: (follow-up) Prevent double charging on renewal

This patch updates the tests the ensure we do not double charge for
renewals that take place before the original due date and fixes the
corresponding loging in C4::Circulation::AddRenewal.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Circulation.pm
t/db_dependent/Circulation.t