From: erickson Date: Wed, 30 Dec 2009 14:52:55 +0000 (+0000) Subject: after checkout, return the patrons account balance in the result data X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=65274d7b869d362a92962dde4ed60d4418fe854c;p=evergreen%2Fmasslnc.git after checkout, return the patrons account balance in the result data git-svn-id: svn://svn.open-ils.org/ILS/trunk@15245 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 b67443db7f..32d60263f3 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm @@ -1377,7 +1377,8 @@ sub do_checkout { deposit_billing => $self->deposit_billing, rental_billing => $self->rental_billing, parent_circ => $pcirc, - patron => ($self->return_patron) ? $self->patron : undef + patron => ($self->return_patron) ? $self->patron : undef, + patron_money => $self->editor->retrieve_money_user_summary($self->patron->id) } ) );