From 41e549c76669e019eb0750b47878318e810e67e6 Mon Sep 17 00:00:00 2001 From: dbs Date: Fri, 3 Jul 2009 19:52:11 +0000 Subject: [PATCH] Hack Laurentian rules into place git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@565 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- circ/circ_permit_patron.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/circ/circ_permit_patron.js b/circ/circ_permit_patron.js index 43fcb7fbc8..9fe79e6eb4 100755 --- a/circ/circ_permit_patron.js +++ b/circ/circ_permit_patron.js @@ -22,11 +22,19 @@ if( config ) { } limit = config.fineThreshold; + /* but Laurentian suspends loan privileges immediately */ + if (copy.circ_lib == 103) { + limit = 0; + } if (patronFines >= limit) { result.events.push('PATRON_EXCEEDS_FINES'); } limit = config.overdueThreshold; + /* but Laurentian suspends loan privileges immediately */ + if (copy.circ_lib == 103) { + limit = 0; + } if (patronOverdueCount >= limit) { result.events.push('PATRON_EXCEEDS_OVERDUE_COUNT'); } -- 2.11.0