noop checkin if during checkout.. no more having to fight transits and hold captures
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 6 Mar 2009 22:18:29 +0000 (22:18 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 6 Mar 2009 22:18:29 +0000 (22:18 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12459 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/checkout.js

index 5df4886..3e080db 100644 (file)
@@ -796,11 +796,11 @@ circ.checkout.prototype = {
                                                                JSAN.use('circ.util');
                                                                switch(r) {
                                                                        case 1:
-                                                                               circ.util.checkin_via_barcode( ses(), { 'barcode' : params.barcode } );
+                                                                               circ.util.checkin_via_barcode( ses(), { 'barcode' : params.barcode, 'noop' : 1 } );
                                                                                obj.checkout(params);
                                                                        break;
                                                                        case 2:
-                                                                               circ.util.checkin_via_barcode( ses(), { 'barcode' : params.barcode }, due_date );
+                                                                               circ.util.checkin_via_barcode( ses(), { 'barcode' : params.barcode, 'noop' : 1 }, due_date );
                                                                                obj.checkout(params);
                                                                        break;
                                                                }