https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23051
Andrew Isherwood <andrew.isherw...@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #94606|0 |1 is obsolete| | --- Comment #57 from Andrew Isherwood <andrew.isherw...@ptfs-europe.com> --- Created attachment 95559 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95559&action=edit Bug 23051: Renew items when fines paid off When the RenewAccruingItemWhenPaid syspref is enabled and all the fines on an item that is accruing fines are paid, we automatically renew that item to prevent it from starting to accrue fines again. This patch adds an additional argument to C4::Circulation::AddRenewal which allows us to skip the calculation of fines upon renewal, which we don't want to do if the fines on that item have just been paid. Existing calls to AddRenewal have not been amended because there seems to be a convention of only passing undef when adding arguments that require their positioning to be maintained. Since the new argument is the last one, this is not the case with any existing call. Signed-off-by: Lucy Harrison <l.m.harri...@lboro.ac.uk> Sponsored-by: Loughborough University -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/