From 43c8619f84ab200024f85f4e3cb5173b5c31a84e Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Tue, 10 Feb 2015 10:46:20 -0500 Subject: [PATCH] LP#1413592: Avoid generating fines in "consider zero balance closed" mode We will now also disable the behavior triggered by the "Lost Checkin Generates New Overdues" org setting when the new "Do not change fines/fees on zero-balance LOST transaction" org setting is enabled. This is to follow the new rule that the new setting creates: a zero-balance LOST transaction is considered handled, and should not be changed by the system. Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm index 6cfe056d88..b9737b80d3 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -3600,6 +3600,7 @@ sub checkin_handle_lost_or_longoverdue { # marked as long-overdue before it was done being regular-overdue if (!$args{is_longoverdue}) { $self->generate_lost_overdue(1) if + !$dont_change and $U->ou_ancestor_setting_value($circ_lib, OILS_SETTING_GENERATE_OVERDUE_ON_LOST_RETURN, $self->editor); -- 2.11.0