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

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Aug 25 12:02:59 EDT 2008


Author: phasefx
Date: 2008-08-25 12:02:57 -0400 (Mon, 25 Aug 2008)
New Revision: 10437

Modified:
   branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js
Log:
current copy location column for hold lists

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-08-25 14:06:09 UTC (rev 10436)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js	2008-08-25 16:02:57 UTC (rev 10437)
@@ -782,6 +782,11 @@
 			'primary' : false, 'hidden' : true,  'render' : function(my) { return my.acp ? my.acp.barcode() : "No Copy"; },
 		},
 		{
+			'id' : 'current_copy_location', 'label' : 'Current Copy Location', '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',
+		},
+		{
 			'persist' : 'hidden width ordinal', 'id' : 'email_notify', 'label' : getString('staff.ahr_email_notify_label'), 'flex' : 1,
 			'primary' : false, 'hidden' : true,  'render' : function(my) { return get_bool(my.ahr.email_notify()) ? "Yes" : "No"; },
 		},



More information about the open-ils-commits mailing list