added an exception for Trustee so they won't get circ fines
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 17 Oct 2006 21:06:54 +0000 (21:06 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 17 Oct 2006 21:06:54 +0000 (21:06 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6482 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index b837c2a..c6948dc 100644 (file)
@@ -81,7 +81,10 @@ log_debug(result.durationRule + ' : ' + result.recurringFinesRule + ' : ' + resu
 function checkDurationExceptions() {
        log_debug("Checking duration rule exceptions for profile  "+patronProfile);
 
-       if( isGroupDescendant('Staff', patronProfile) || isGroupDescendant('Outreach', patronProfile) ) {
+       if(     isGroupDescendant('Staff', patronProfile) || 
+                       isGroupDescendant('Trustee', patronProfile) ||
+                       isGroupDescendant('Outreach', patronProfile) ) {
+
                result.recurringFinesRule       = "staff";
                result.maxFine                                  = "staff";
        }
@@ -92,3 +95,4 @@ function checkDurationExceptions() {
        }
 }
 
+