typos
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Sep 2006 06:58:11 +0000 (06:58 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Sep 2006 06:58:11 +0000 (06:58 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5992 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Actor.pm

index b15394d..00a8a6c 100644 (file)
@@ -1332,7 +1332,7 @@ sub user_transactions {
        my( $user_obj, $target, $evt ) = $apputils->checkses_requestor(
                $login_session, $user_id, 'VIEW_USER_TRANSACTIONS' );
        return $evt if $evt;
-       
+
        my $api = $self->api_name();
        my $trans;
        my @xact;
@@ -1357,8 +1357,9 @@ sub user_transactions {
        } else {
 
                ($trans) = $self
-                       ->method_lookup('open-ils.actor.user.transactions.history')
+                       ->method_lookup('open-ils.actor.user.transactions.history.still_open')
                        ->run($login_session => $user_id => $type);
+               $trans = [ grep { int($_->total_owed * 100) > 0 } @$trans ];
 
        }