From: erickson Date: Wed, 29 Oct 2008 00:09:10 +0000 (+0000) Subject: returning copy in payload of fee/deposit required events X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7da7fece001cac09ef2941c11ed4404f9526a22f;p=Evergreen.git returning copy in payload of fee/deposit required events git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@10952 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm index 1a7aa39ea7..878aa18e36 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm @@ -688,9 +688,9 @@ sub do_permit { sub check_item_deposit_events { my $self = shift; - $self->push_events(OpenILS::Event->new('ITEM_DEPOSIT_REQUIRED')) + $self->push_events(OpenILS::Event->new('ITEM_DEPOSIT_REQUIRED', payload => $self->copy)) if $self->is_deposit and not $self->is_deposit_exempt; - $self->push_events(OpenILS::Event->new('ITEM_RENTAL_FEE_REQUIRED')) + $self->push_events(OpenILS::Event->new('ITEM_RENTAL_FEE_REQUIRED', payload => $self->copy)) if $self->is_rental and not $self->is_rental_exempt; }