after checkout, return the patrons account balance in the result data
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Dec 2009 14:52:55 +0000 (14:52 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Dec 2009 14:52:55 +0000 (14:52 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15245 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm

index b67443d..32d6026 100644 (file)
@@ -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)
             }
         )
     );