[open-ils-commits] r515 - conifer/trunk/circ (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jun 4 17:36:50 EDT 2009
Author: dbs
Date: 2009-06-04 17:36:45 -0400 (Thu, 04 Jun 2009)
New Revision: 515
Modified:
conifer/trunk/circ/circ_duration_OSUL.js
Log:
Add circulation rules for 4-hour laptops, 48-hour laptops, and RACER books.
Modified: conifer/trunk/circ/circ_duration_OSUL.js
===================================================================
--- conifer/trunk/circ/circ_duration_OSUL.js 2009-06-04 20:31:39 UTC (rev 514)
+++ conifer/trunk/circ/circ_duration_OSUL.js 2009-06-04 21:36:45 UTC (rev 515)
@@ -30,4 +30,22 @@
result.durationRule = '3_weeks_2_renew';
}
+/* Distance education laptops */
+if (copy.circ_modifer == 'COMPUTER') {
+ result.durationRule = '48_hours_2_renew';
+ result.recurringFinesRule = 'OSUL_computer';
+ result.maxFine = 'overdue_equip_max';
+}
+/* Short term laptops */
+if (copy.circ_modifer == 'COMPUTER SHORT') {
+ result.durationRule = '4_hours_0_renew';
+ result.recurringFinesRule = 'OSUL_computer';
+ result.maxFine = 'overdue_equip_max';
+}
+
+/* RACER books */
+if (copy.circ_modifer == 'PEB-LIVRE') {
+ result.durationRule = '14_days_0_renew';
+ result.recurringFinesRule = '1_dollar_per_day';
+}
More information about the open-ils-commits
mailing list