gapines rule for eventpass
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 28 May 2008 13:18:20 +0000 (13:18 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 28 May 2008 13:18:20 +0000 (13:18 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9718 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/src/javascript/backend/circ/circ_item_config.js
Evergreen/src/javascript/backend/circ/circ_permit_hold.js

index d98f762..a7339de 100644 (file)
@@ -360,7 +360,7 @@ var CIRC_MOD_MAP = {
                SIPMediaType                    : '005',
                magneticMedia                   : 'f',
                durationRule                    : '14_days_2_renew',
-               recurringFinesRule      : '10_cent_per_day',
+               recurringFinesRule          : '10_cent_per_day',
                maxFine                                 : 'overdue_mid'
        },
 
@@ -377,10 +377,17 @@ var CIRC_MOD_MAP = {
                SIPMediaType                    : '001',
                magneticMedia                   : 'f',
                durationRule                    : '7_days_2_renew',
-               recurringFinesRule      : '10_cent_per_day',
+               recurringFinesRule          : '10_cent_per_day',
                maxFine                                 : 'overdue_mid'
        },
 
+       'eventpass'     : {
+               SIPMediaType                    : '001',
+               magneticMedia                   : 'f',
+               durationRule                    : '7_day_1_renew',
+               recurringFinesRule          : '3_dollar_per_day',
+               maxFine                                 : 'overdue_mid'
+       },
 }
 
 
index c40e885..dd845dc 100644 (file)
@@ -43,7 +43,7 @@ log_info("circ-modifier = "+mod);
 log_info("marc-type = "+marcItemType);
 
 
-if( mod == 'bestsellernh' )
+if(mod == 'bestsellernh' || mod == 'eventpass')
        result.events.push('ITEM_NOT_HOLDABLE');