added MAXFINES circs to the list of checked out items
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Sep 2006 16:58:36 +0000 (16:58 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Sep 2006 16:58:36 +0000 (16:58 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5922 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 18093d4..69579ea 100644 (file)
@@ -1614,6 +1614,17 @@ sub _checked_out {
        my $circs = $e->search_action_circulation( 
                { usr => $userid, stop_fines => undef });
 
        my $circs = $e->search_action_circulation( 
                { usr => $userid, stop_fines => undef });
 
+       my $mcircs = $e->search_action_circulation( 
+               { 
+                       usr => $userid, 
+                       checkin_time => undef, 
+                       xact_finish => undef, 
+                       stop_fines => OILS_STOP_FINES_MAX_FINES 
+               });
+
+       
+       push( @$circs, @$mcircs );
+
        my $parser = DateTime::Format::ISO8601->new;
 
        # split the circs up into overdue and not-overdue circs
        my $parser = DateTime::Format::ISO8601->new;
 
        # split the circs up into overdue and not-overdue circs
index e9cf3b5..4e4b7e7 100644 (file)
@@ -66,6 +66,7 @@ econst OILS_STOP_FINES_RENEW          => 'RENEW';
 econst OILS_STOP_FINES_LOST           => 'LOST';
 econst OILS_STOP_FINES_CLAIMSRETURNED => 'CLAIMSRETURNED';
 econst OILS_STOP_FINES_LONGOVERDUE    => 'LONGOVERDUE';
 econst OILS_STOP_FINES_LOST           => 'LOST';
 econst OILS_STOP_FINES_CLAIMSRETURNED => 'CLAIMSRETURNED';
 econst OILS_STOP_FINES_LONGOVERDUE    => 'LONGOVERDUE';
+econst OILS_STOP_FINES_MAX_FINES      => 'MAXFINES';
 econst OILS_UNLIMITED_CIRC_DURATION   => 'unlimited';
 
 # ---------------------------------------------------------------------
 econst OILS_UNLIMITED_CIRC_DURATION   => 'unlimited';
 
 # ---------------------------------------------------------------------