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)
committerMike Rylander <mrylander@gmail.com>
Tue, 9 Aug 2016 16:56:05 +0000 (12:56 -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>

Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm

index befe1bc..6ce9eb8 100644 (file)
@@ -2416,6 +2416,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;
         }