taking fees and refunds into account for circ script
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 10 Aug 2006 13:12:13 +0000 (13:12 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 10 Aug 2006 13:12:13 +0000 (13:12 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5419 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index f1bcdd9..b876e8c 100644 (file)
@@ -235,7 +235,7 @@ sub fetch_user_data {
 
                # Grab the fines
                my $fxacts = $e->search_money_open_billable_transaction_summary(
-                       { usr => $patron->id, balance_owed => { ">" => 0 } });
+                       { usr => $patron->id, balance_owed => { "!=" => 0 } });
 
                my $fines = 0;
                $fines += $_->balance_owed for @$fxacts;