From 051fd7ecbf63e84df59b3d7a9a5809b22ca58f3a Mon Sep 17 00:00:00 2001 From: Rogan Hamby Date: Mon, 24 Feb 2020 12:27:59 -0500 Subject: [PATCH] prevent charging on renewals Signed-off-by: Rogan Hamby --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 046ff057e6..2ff4d2fdb6 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -1071,7 +1071,7 @@ sub do_permit { sub check_item_deposit_events { my $self = shift; $self->push_events(OpenILS::Event->new('ITEM_DEPOSIT_REQUIRED', payload => $self->copy)) - if $self->is_deposit and not $self->is_deposit_exempt and not $self->is_renewal; + if $self->is_deposit and not $self->is_deposit_exempt; $self->push_events(OpenILS::Event->new('ITEM_RENTAL_FEE_REQUIRED', payload => $self->copy)) if $self->is_rental and not $self->is_rental_exempt; } @@ -3038,7 +3038,7 @@ sub check_circ_deposit { }, {idlist => 1})->[0]; $self->push_events(OpenILS::Event->new( - 'ITEM_DEPOSIT_PAID', payload => $deposit)) if $deposit and not $self->is_renewal; + 'ITEM_DEPOSIT_PAID', payload => $deposit)) if $deposit; } sub reshelve_copy { -- 2.11.0