[open-ils-commits] r14236 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Sep 30 16:17:18 EDT 2009
Author: erickson
Date: 2009-09-30 16:17:12 -0400 (Wed, 30 Sep 2009)
New Revision: 14236
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Log:
when we check in a circ, flesh the billing summary data on the billable_transaction link off the circ object
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm 2009-09-30 20:09:34 UTC (rev 14235)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm 2009-09-30 20:17:12 UTC (rev 14236)
@@ -2482,6 +2482,16 @@
$hold->notes($self->editor->search_action_hold_request_note({hold => $hold->id}));
}
+ if($self->circ) {
+ # if we checked in a circulation, flesh the billing summary data
+ $self->circ->billable_transaction(
+ $self->editor->retrieve_billable_transaction([
+ $self->circ->id,
+ {flesh => 1, flesh_fields => {mbt => ['summary']}}
+ ])
+ );
+ }
+
for my $evt (@{$self->events}) {
my $payload = {};
More information about the open-ils-commits
mailing list