adjustments to circ for "special cases"
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 29 Sep 2006 15:27:01 +0000 (15:27 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 29 Sep 2006 15:27:01 +0000 (15:27 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6264 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 93fc792..b837c2a 100644 (file)
@@ -62,6 +62,14 @@ if( isOrgDescendent('STATELIB', copy.circ_lib.id) ) {
 }
 
 
+/* and so does OCRL */
+
+if( isOrgDescendent('OCRL', copy.circ_lib.id) && copy.circ_modifier == 'VIDEO') {
+       result.durationRule             = '7_days_0_renew';
+       result.recurringFinesRule       = '10_cent_per_day';
+}
+
+
 checkDurationExceptions();
 
 log_debug(result.durationRule + ' : ' + result.recurringFinesRule + ' : ' + result.maxFine );
index ff506fe..9ff16f3 100644 (file)
@@ -329,7 +329,7 @@ var CIRC_MOD_MAP = {
                SIPMediaType                    : '005',
                magneticMedia                   : 'f',
                durationRule                    : '7_days_0_renew',
-               recurringFinesRule      : '50_cent_per_day',
+               recurringFinesRule      : '10_cent_per_day',
                maxFine                                 : 'overdue_mid'
        },
 
@@ -337,7 +337,7 @@ var CIRC_MOD_MAP = {
                SIPMediaType                    : '005',
                magneticMedia                   : 'f',
                durationRule                    : '14_days_2_renew',
-               recurringFinesRule      : '50_cent_per_day',
+               recurringFinesRule      : '10_cent_per_day',
                maxFine                                 : 'overdue_mid'
        },