Handle Missing copy status (4) in checkin_via_barcode2 in circ.util.js.
authorJason Stephenson <jstephenson@mvlc.org>
Mon, 21 Oct 2013 20:37:22 +0000 (16:37 -0400)
committerDan Wells <dbw2@calvin.edu>
Tue, 29 Oct 2013 14:25:11 +0000 (10:25 -0400)
We treate just like available and reshelving.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/xul/staff_client/server/circ/util.js

index 42b1df7..92b168a 100644 (file)
@@ -3069,6 +3069,7 @@ circ.util.checkin_via_barcode2 = function(session,params,backdate,auto_print,che
             }
             switch(Number(check.copy.status())) {
                 case 0: /* AVAILABLE */
+                case 4: /* MISSING */
                 case 7: /* RESHELVING */
                     check.what_happened = 'success';
                     sound.special('checkin.success');