rt 14015, rt 14009, rt 14019
authorMark Bucholtz <mark@coconut.sitka.bclibraries.ca.sitka.bclibraries.ca>
Thu, 6 Sep 2012 10:44:23 +0000 (03:44 -0700)
committerMark Bucholtz <mark@coconut.sitka.bclibraries.ca.sitka.bclibraries.ca>
Thu, 6 Sep 2012 10:44:23 +0000 (03:44 -0700)
circ/config_BGI.js
circ/config_BSE.js
circ/config_BTE.js

index dc75a83..63f3dbb 100644 (file)
@@ -14,6 +14,9 @@ getHardDueDate: function() {
 },
 
 getLoanDuration: function() {
+            if (patronProfile == 'PL Home Services') {
+                return '28_2';
+            }
             var map = {
                 'book'                  :   '21_2',
                 'bookclub'              :   '28_0',
index 74450ad..14f7b34 100644 (file)
@@ -23,6 +23,7 @@ getLoanDuration: function() {
 
             var map = {
                 'book': '21_2',
+                '2-hour-loan': '2hr_1',
                 'juvenile-collection': '21_2',
                 'e-reader': '21_1',
                 'mass-market-paperbacks': '21_2',
@@ -72,6 +73,7 @@ getLoanDuration: function() {
                 'ill-no-renew': 'fiftycents',
                 'ill-no-renewal': 'fiftycents',
                 'e-reader': 'fivedollar',
+                '2-hour-loan': 'twodollarperhour',
                 'juvenile-holiday-special': 'tencents'
             };
 
@@ -96,6 +98,7 @@ getLoanDuration: function() {
                 'new-books': 'fivedollar',
                 'talking-books': 'zero',
                 'inter-library-loan': 'hundreddollar',
+                '2-hour-loan': 'twentydollar',
                 'ill-no-renew': 'hundreddollar',
                 'ill-no-renewal': 'hundreddollar',
                 'e-reader': 'fifteendollar',
@@ -143,6 +146,7 @@ getLoanDuration: function() {
                 'e-reader': '1',
                 'new-books': '1',
                 'talking-books': '1',
+                '2-hour-loan': '1',
                 'juvenile-holiday-special': '1',
                 'playaway': '1'
             };
index 795bcae..9fd320d 100644 (file)
@@ -55,7 +55,8 @@ getHardDueDate: function() {
                 'spiral-binding-short': '14_2',
                 'paperback-short': '14_2',
                 'binder-short': '14_2',
-                'dvd-short': '3_2'
+                'dvd-short': '3_2',
+                'quickread': '14_0'
             };
             return map[circMod] || '28_2';