Use 'void' consistently to undo an overdue billing when no
negative-balance settings are applied. This resolves an inconsistency
where traditional voiding is generally used, except in the special case
of undoing overdue fines when marking an item lost.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
# ---------------------------------------------------------------------
# zero out overdue fines on this circ if configured
if( $void_overdue ) {
- my $evt = OpenILS::Application::Circ::CircCommon->void_or_zero_overdues($e, $circ, {force_zero => 1, note => "System: OVERDUE REVERSED for " . $args{bill_note} . " Processing"});
+ my $evt = OpenILS::Application::Circ::CircCommon->void_or_zero_overdues(
+ $e, $circ, {note => "System: OVERDUE REVERSED for " . $args{bill_note} . " Processing"});
return $evt if $evt;
}