[open-ils-commits] r10438 - 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 Aug 25 12:08:43 EDT 2008


Author: phasefx
Date: 2008-08-25 12:08:41 -0400 (Mon, 25 Aug 2008)
New Revision: 10438

Modified:
   trunk/Open-ILS/xul/staff_client/server/circ/util.js
   trunk/Open-ILS/xul/staff_client/server/locale/en-US/common.properties
Log:
current copy location column for hold lists

Modified: trunk/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/util.js	2008-08-25 16:02:57 UTC (rev 10437)
+++ trunk/Open-ILS/xul/staff_client/server/circ/util.js	2008-08-25 16:08:41 UTC (rev 10438)
@@ -1486,6 +1486,17 @@
 		},
 		{
 			'persist' : 'hidden width ordinal',
+			'id' : 'current_copy_location', 
+			'label' : document.getElementById('commonStrings').getString('staff.ahr_current_copy_location_label'),
+            'flex' : 1,
+			'primary' : false, 
+            'hidden' : true, 
+            'render' : function(my) { 
+                if (!my.acp) { return ""; } else { if (Number(my.acp.location())>=0) return data.lookup("acpl", my.acp.location() ).name(); else return my.acp.location().name(); } 
+            }
+		},
+		{
+			'persist' : 'hidden width ordinal',
 			'id' : 'email_notify',
 			'label' : document.getElementById('commonStrings').getString('staff.ahr_email_notify_label'),
 			'flex' : 1,

Modified: trunk/Open-ILS/xul/staff_client/server/locale/en-US/common.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/locale/en-US/common.properties	2008-08-25 16:02:57 UTC (rev 10437)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/common.properties	2008-08-25 16:08:41 UTC (rev 10438)
@@ -40,6 +40,7 @@
 staff.acp_label_price=Price
 staff.acp_label_status=Status
 staff.ahr_current_copy_label=Current Copy
+staff.ahr_current_copy_location_label=Current Copy Location
 staff.ahr_email_notify_label=Email Notify
 staff.ahr_expire_time_label=Expire Time
 staff.ahr_fulfillment_time_label=Fulfillment Time



More information about the open-ils-commits mailing list