repairing statelib rule
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Nov 2006 16:37:13 +0000 (16:37 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Nov 2006 16:37:13 +0000 (16:37 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@6594 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index bfa58d4..866428a 100644 (file)
@@ -50,6 +50,8 @@ var circMod           = (copy.circ_modifier) ? copy.circ_modifier.toLowerCase() : '';
 
 
 if( isOrgDescendent('STATELIB', copy.circ_lib.id) ) {
+       if( circMod == 'book' )
+               result.durationRule = '35_days_1_renew';
        if(isTrue(copy.ref))
                result.durationRule     = '14_days_2_renew';
 
@@ -89,4 +91,3 @@ function checkDurationExceptions() {
        }
 }
 
-