BGF: added InterLibraryLoan to circ script (RT 4001)
authorjeff <jdavis@sitka.bclibraries.ca>
Fri, 16 Apr 2010 05:21:13 +0000 (22:21 -0700)
committerjeff <jdavis@sitka.bclibraries.ca>
Fri, 16 Apr 2010 05:21:13 +0000 (22:21 -0700)
circ/config_BGF.js

index b95d730..7f58c6f 100644 (file)
@@ -9,6 +9,9 @@ function getPolicy() {
     return {
         getLoanDuration : function() {
            
+          if (patronProfile == 'InterLibraryLoan') {
+            return '42_0';
+          }
            if (patronProfile == 'Volunteer') {
                return '28_2';
            }
@@ -29,7 +32,7 @@ function getPolicy() {
                        return 'staff';
             }
  
-       if(patronProfile == 'Volunteer' || patronProfile == 'NoFines') { 
+       if(patronProfile == 'Volunteer' || patronProfile == 'NoFines' || patronProfile == 'InterLibraryLoan') { 
                                return 'staff';
             }