From: miker Date: Fri, 29 Sep 2006 15:27:01 +0000 (+0000) Subject: adjustments to circ for "special cases" X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=38b0df993b93a7c3c7b6aabcc599e34f3e2de9bd;p=evergreen%2Fpines.git adjustments to circ for "special cases" git-svn-id: svn://svn.open-ils.org/ILS/trunk@6264 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/javascript/backend/circ/circ_duration.js b/Open-ILS/src/javascript/backend/circ/circ_duration.js index 93fc792ffc..b837c2a6e9 100644 --- a/Open-ILS/src/javascript/backend/circ/circ_duration.js +++ b/Open-ILS/src/javascript/backend/circ/circ_duration.js @@ -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 ); 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 ff506fe683..9ff16f38ad 100644 --- a/Open-ILS/src/javascript/backend/circ/circ_item_config.js +++ b/Open-ILS/src/javascript/backend/circ/circ_item_config.js @@ -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' },