[open-ils-commits] r11048 - in trunk/Open-ILS/xul/staff_client/server: circ locale/en-US

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Nov 3 15:11:11 EST 2008


Author: phasefx
Date: 2008-11-03 15:11:05 -0500 (Mon, 03 Nov 2008)
New Revision: 11048

Modified:
   trunk/Open-ILS/xul/staff_client/server/circ/util.js
   trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties
Log:
handle renewals for deposits (albeit ungracefully)

Modified: trunk/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/util.js	2008-11-03 20:07:51 UTC (rev 11047)
+++ trunk/Open-ILS/xul/staff_client/server/circ/util.js	2008-11-03 20:11:05 UTC (rev 11048)
@@ -2315,7 +2315,9 @@
 						case 1213 /* PATRON_BARRED */ : break;
 						case 1215 /* CIRC_EXCEEDS_COPY_RANGE */ : break;
 						case 1224 /* PATRON_ACCOUNT_EXPIRED */ : break;
+                        case 1232 /* ITEM_DEPOSIT_REQUIRED */ : break;
                         case 1233 /* ITEM_RENTAL_FEE_REQUIRED */ : break;
+					    case 1234 /* ITEM_DEPOSIT_PAID */ : break;
 						case 1500 /* ACTION_CIRCULATION_NOT_FOUND */ : break;
 						case 7002 /* PATRON_EXCEEDS_CHECKOUT_COUNT */ : break;
 						case 7003 /* COPY_CIRC_NOT_ALLOWED */ : break;
@@ -2350,7 +2352,9 @@
 					1212 /* PATRON_EXCEEDS_OVERDUE_COUNT */,
 					1213 /* PATRON_BARRED */,
 					1215 /* CIRC_EXCEEDS_COPY_RANGE */,
+                    1232 /* ITEM_DEPOSIT_REQUIRED */,
                     1233 /* ITEM_RENTAL_FEE_REQUIRED */,
+					1234 /* ITEM_DEPOSIT_PAID */,
 					7002 /* PATRON_EXCEEDS_CHECKOUT_COUNT */,
 					7003 /* COPY_CIRC_NOT_ALLOWED */,
 					7004 /* COPY_NOT_AVAILABLE */,
@@ -2365,9 +2369,15 @@
 					'1212' : function(r) { return document.getElementById('circStrings').getFormattedString('staff.circ.renew.barcode', [barcode]); },
 					'1213' : function(r) { return document.getElementById('circStrings').getFormattedString('staff.circ.renew.barcode', [barcode]); },
 					'1215' : function(r) { return document.getElementById('circStrings').getFormattedString('staff.circ.renew.barcode', [barcode]); },
+                    '1232' : function(r) {
+                        return document.getElementById('circStrings').getFormattedString('staff.circ.renew.override.item_deposit_required.warning.barcode', [barcode]);
+                    },
                     '1233' : function(r) {
-                        return document.getElementById('circStrings').getString('staff.circ.renew.override.item_rental_fee_required.warning.barcode', [barcode]);
+                        return document.getElementById('circStrings').getFormattedString('staff.circ.renew.override.item_rental_fee_required.warning.barcode', [barcode]);
                     },
+					'1234' : function(r) {
+						return document.getElementById('circStrings').getFormattedString('staff.circ.utils.checkin.override.item_deposit_paid.warning');
+					},
 					'7002' : function(r) { return document.getElementById('circStrings').getFormattedString('staff.circ.renew.barcode', [barcode]); },
 					'7003' : function(r) { return document.getElementById('circStrings').getFormattedString('staff.circ.renew.barcode', [barcode]); },
 					'7004' : function(r) {

Modified: trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties	2008-11-03 20:07:51 UTC (rev 11047)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties	2008-11-03 20:11:05 UTC (rev 11048)
@@ -321,7 +321,8 @@
 staff.circ.renew.barcode=Barcode: %1$s
 staff.circ.renew.barcode.status=Barcode: %1$s Status: %2$s
 staff.circ.renew.barcode.msg=Barcode: %1$s Message: %2$s
-staff.circ.circ.override.item_rental_fee_required.warning.barcode=For item with barcode %1$s, a billing for an Item Rental Fee will be added to the patron's account if this action is overrided.
+staff.circ.renew.override.item_deposit_required.warning.barcode=For item with barcode %1$s, a billing for an Item Deposit will be added to the patron's account if this action is overrided.
+staff.circ.renew.override.item_rental_fee_required.warning.barcode=For item with barcode %1$s, a billing for an Item Rental Fee will be added to the patron's account if this action is overrided.
 staff.circ.holds.activate.prompt=Are you sure you would like to activate hold %1$s?
 staff.circ.holds.activate.prompt.plural=Are you sure you would like to activate holds %1$s?
 staff.circ.holds.suspend.prompt=Are you sure you would like to suspend hold %1$s?



More information about the open-ils-commits mailing list