]> git.koha-community.org Git - koha.git/commit
Bug 29537: Remove unnecessary if-else checks for soonest renew date
authorNick Clemens <nick@bywatersolutions.com>
Thu, 24 Mar 2022 11:42:55 +0000 (11:42 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 3 May 2022 21:19:50 +0000 (11:19 -1000)
commit00a73846c054c6814250adfa4181e613192abfc4
treec711be989911306ae20833086d25d08b504dd295
parenta64e20b39c160f9b688f385d3920582d63422019
Bug 29537: Remove unnecessary if-else checks for soonest renew date

GetSoonestRenewDate() calculates the renewal due date now also
correctly for auto-renewals after the fixes from bug 29476 so we don't
have to add any if-else checks because of it being buggy anymore.

To test:
 1) prove t/db_dependent/Circulation.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Circulation.pm