From: Thomas Berezansky Date: Wed, 15 Apr 2015 14:48:03 +0000 (-0400) Subject: LP#1444514: Have amnesty mode override backdate for voiding X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2fd6c8239bacffdd2d57f64972c86f273b00fbb9;p=evergreen%2Fpines.git LP#1444514: Have amnesty mode override backdate for voiding Otherwise you get amnesty notes on just backdate voiding. Signed-off-by: Thomas Berezansky Signed-off-by: Michele Morgan Signed-off-by: Ben Shum --- 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 e910c70367..710c2654f7 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -2794,7 +2794,7 @@ sub finish_fines_and_voiding { my $note = 'System: Amnesty Checkin' if $self->void_overdues; my $evt = OpenILS::Application::Circ::CircCommon->void_overdues( - $self->editor, $self->circ, $self->backdate, $note); + $self->editor, $self->circ, $self->void_overdues ? undef : $self->backdate, $note); return $self->bail_on_events($evt) if $evt;