From: erickson Date: Tue, 17 Oct 2006 21:06:54 +0000 (+0000) Subject: added an exception for Trustee so they won't get circ fines X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b5dc3f63411de03e8765c7e0031c84452894397d;p=Evergreen.git added an exception for Trustee so they won't get circ fines git-svn-id: svn://svn.open-ils.org/ILS/trunk@6482 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/javascript/backend/circ/circ_duration.js b/Open-ILS/src/javascript/backend/circ/circ_duration.js index b837c2a6e9..c6948dc570 100644 --- a/Open-ILS/src/javascript/backend/circ/circ_duration.js +++ b/Open-ILS/src/javascript/backend/circ/circ_duration.js @@ -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() { } } +