LP1496556 Claimed never checked out count not increased when applied to LOST circulation
authorblake <blake@mobiusconsortium.org>
Thu, 30 Jun 2016 20:41:35 +0000 (15:41 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 25 Aug 2016 18:11:38 +0000 (14:11 -0400)
Bug within the Lost copy status checkin block. Needed to set the stop_fines

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm

index c729abc..f03e284 100644 (file)
@@ -2393,6 +2393,9 @@ sub do_checkin {
                     );
             }
 
+            # Set stop_fines when claimed never checked out
+            $self->circ->stop_fines( OILS_STOP_FINES_CLAIMS_NEVERCHECKEDOUT ) if( $self->claims_never_checked_out );
+
             # handle fines for this circ, including overdue gen if needed
             $self->handle_fines;
         }