[open-ils-commits] r19220 - branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jan 19 17:05:58 EST 2011


Author: phasefx
Date: 2011-01-19 17:05:53 -0500 (Wed, 19 Jan 2011)
New Revision: 19220

Modified:
   branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Log:
let amnesty checkin mode trump the restore overdues on lost checkin setting

Modified: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	2011-01-19 22:05:18 UTC (rev 19219)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	2011-01-19 22:05:53 UTC (rev 19220)
@@ -3051,7 +3051,7 @@
 
         $self->checkin_handle_lost_now_found(3) if $void_lost;
         $self->checkin_handle_lost_now_found(4) if $void_lost_fee;
-        $self->checkin_handle_lost_now_found_restore_od() if $restore_od;
+        $self->checkin_handle_lost_now_found_restore_od() if $restore_od && ! $self->void_overdues;
     }
 
     $self->copy->status($U->copy_status(OILS_COPY_STATUS_RESHELVING));



More information about the open-ils-commits mailing list