[open-ils-commits] r11050 - branches/rel_1_2/Open-ILS/xul/staff_client/server/circ

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


Author: phasefx
Date: 2008-11-03 15:18:56 -0500 (Mon, 03 Nov 2008)
New Revision: 11050

Modified:
   branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js
Log:
handle renewals for deposits (albeit ungracefully)

Modified: branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js	2008-11-03 20:12:49 UTC (rev 11049)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js	2008-11-03 20:18:56 UTC (rev 11050)
@@ -1377,7 +1377,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;
@@ -1412,7 +1414,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 */,
@@ -1427,9 +1431,15 @@
 					'1212' : function(r) { return 'Barcode: ' + barcode; },
 					'1213' : function(r) { return 'Barcode: ' + barcode; },
 					'1215' : function(r) { return 'Barcode: ' + barcode; },
+                    '1232' : function(r) {
+                        return "For item with barcode " + barcode + ", a billing for an Item Deposit will be added to the patron's account if this action is overrided.";
+                    },
                     '1233' : function(r) {
                         return "For item with barcode " + barcode + ", a billing for an Item Rental Fee will be added to the patron's account if this action is overrided.";
                     },
+                    '1234' : function(r) {
+                        return "A paid deposit will be owed to this patron if this action is overrided.";
+                    },
 					'7002' : function(r) { return 'Barcode: ' + barcode; },
 					'7003' : function(r) { return 'Barcode: ' + barcode; },
 					'7004' : function(r) {



More information about the open-ils-commits mailing list