From e0d3fa8011a38dede6fc7ce41134bc722d5fe157 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 1 Dec 2006 18:24:56 +0000 Subject: [PATCH] set video to .50 default, removed duration exceptions forcing that setting git-svn-id: svn://svn.open-ils.org/ILS/trunk@6639 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/javascript/backend/circ/circ_duration.js | 4 +++- Open-ILS/src/javascript/backend/circ/circ_item_config.js | 6 +----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Open-ILS/src/javascript/backend/circ/circ_duration.js b/Open-ILS/src/javascript/backend/circ/circ_duration.js index 97fcc27c74..d535e613a8 100644 --- a/Open-ILS/src/javascript/backend/circ/circ_duration.js +++ b/Open-ILS/src/javascript/backend/circ/circ_duration.js @@ -52,9 +52,10 @@ if( isOrgDescendent('STATELIB', copy.circ_lib.id) ) { if(isTrue(copy.ref)) result.durationRule = '14_days_2_renew'; -} else if( isOrgDescendent('NCLS', copy.circ_lib.id) && circMod == 'dvd' ) +} else if( isOrgDescendent('NCLS', copy.circ_lib.id) && ( circMod == 'dvd' || circMod == 'video' ) ) result.recurringFinesRule = '10_cent_per_day'; +/* else if( isOrgDescendent('LEE', copy.circ_lib.id) && circMod == 'video' ) result.recurringFinesRule = '50_cent_per_day'; @@ -66,6 +67,7 @@ else if( isOrgDescendent('OHOOP', copy.circ_lib.id) && circMod == 'video' ) else if( isOrgDescendent('ARL', copy.circ_lib.id) && circMod == 'video' ) result.recurringFinesRule = '50_cent_per_day'; + */ diff --git a/Open-ILS/src/javascript/backend/circ/circ_item_config.js b/Open-ILS/src/javascript/backend/circ/circ_item_config.js index 0efe07e691..15e7036776 100644 --- a/Open-ILS/src/javascript/backend/circ/circ_item_config.js +++ b/Open-ILS/src/javascript/backend/circ/circ_item_config.js @@ -344,7 +344,7 @@ var CIRC_MOD_MAP = { SIPMediaType : '005', magneticMedia : 'f', durationRule : '7_days_0_renew', - recurringFinesRule : '10_cent_per_day', + recurringFinesRule : '50_cent_per_day', maxFine : 'overdue_mid' }, @@ -370,18 +370,14 @@ var CIRC_MOD_MAP = { /* Set up rules for legacy types */ CIRC_MOD_MAP['DEPOSIT'] = CIRC_MOD_MAP['book']; CIRC_MOD_MAP['E-AUDIO'] = CIRC_MOD_MAP['book']; -CIRC_MOD_MAP['EQUIP'] = CIRC_MOD_MAP['book']; CIRC_MOD_MAP['FACNEWBK'] = CIRC_MOD_MAP['book']; CIRC_MOD_MAP['MAG-CIRC'] = CIRC_MOD_MAP['book']; CIRC_MOD_MAP['MAG-NOCIRC'] = CIRC_MOD_MAP['book']; -CIRC_MOD_MAP['NEW-AV'] = CIRC_MOD_MAP['book']; CIRC_MOD_MAP['NEW-BOOK'] = CIRC_MOD_MAP['book']; CIRC_MOD_MAP['NEWSPAPER'] = CIRC_MOD_MAP['book']; -CIRC_MOD_MAP['NILS-ITEM'] = CIRC_MOD_MAP['book']; CIRC_MOD_MAP['OUTREACH'] = CIRC_MOD_MAP['book']; CIRC_MOD_MAP['PAMPHLET'] = CIRC_MOD_MAP['book']; CIRC_MOD_MAP['PAPERBACK'] = CIRC_MOD_MAP['book']; -CIRC_MOD_MAP['REALIA'] = CIRC_MOD_MAP['book']; CIRC_MOD_MAP['RESERVE'] = CIRC_MOD_MAP['book']; CIRC_MOD_MAP['STATE-BOOK'] = { SIPMediaType : '001', -- 2.43.2