From b5dc3f63411de03e8765c7e0031c84452894397d Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 17 Oct 2006 21:06:54 +0000 Subject: [PATCH] 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 --- Open-ILS/src/javascript/backend/circ/circ_duration.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() { } } + -- 2.43.2