we need to report on circs that are /not/ lost/lonvoverdue/claimsreturned
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 21 Aug 2008 21:20:36 +0000 (21:20 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 21 Aug 2008 21:20:36 +0000 (21:20 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10410 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/support-scripts/generate_circ_notices.pl

index 935e97b..dd49cc9 100755 (executable)
@@ -174,7 +174,7 @@ sub generate_notice_set {
             '+circ' => {
                 checkin_time => undef, 
                 '-or' => [
-                    {stop_fines => ["LOST","LONGOVERDUE","CLAIMSRETURNED"]},
+                    {stop_fines => {'not in' => ["LOST","LONGOVERDUE","CLAIMSRETURNED"]}},
                     {stop_fines => undef}
                 ],
                                due_date => {between => [$start_date, $end_date]},