commented out the hold blocking .. left as an example
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 31 Jan 2006 21:11:47 +0000 (21:11 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 31 Jan 2006 21:11:47 +0000 (21:11 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2904 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/javascript/backend/circ/circ_permit_copy.js

index 66887d9..9c238d5 100644 (file)
@@ -39,12 +39,14 @@ if( copy.ref != '0' )
 if( copyStatus != 'available' && copyStatus != 'on holds shelf' )
        return result.event = 'COPY_NOT_AVAILABLE';
 
+/* example of handling holds 
 var holds = copy.fetchHold();
 for( var i in holds ) {
        var hold = holds[i];
        if( hold && hold.usr != patron.id )
                return result.event = 'COPY_NEEDED_FOR_HOLD';
 }
+*/
 
 
 } go();