The previous commit missed a case where we still want the backdate
message to appear. Let's recentralize it, but at a different level.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
$e->update_action_circulation($circ) or return $e->die_event;
# now void the overdues "erased" by the back-dating
- my $evt = OpenILS::Application::Circ::CircCommon->void_or_zero_overdues($e, $circ, {backdate => $backdate, note => 'System: OVERDUE REVERSED FOR BACKDATE'});
+ my $evt = OpenILS::Application::Circ::CircCommon->void_or_zero_overdues($e, $circ, {backdate => $backdate});
return $evt if $evt;
# If the circ was closed before and the balance owned !=0, re-open the transaction
if( $opts->{backdate} ) {
my $backdate = $opts->{backdate};
+ $opts->{note} = 'System: OVERDUE REVERSED FOR BACKDATE' if !$opts->{note};
# ------------------------------------------------------------------
# Fines for overdue materials are assessed up to, but not including,
# one fine interval after the fines are applicable. Here, we add