From 32592ee35bf64e425ddfef831bb94bd1c90a23d1 Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 25 Aug 2008 16:08:41 +0000 Subject: [PATCH] current copy location column for hold lists git-svn-id: svn://svn.open-ils.org/ILS/trunk@10438 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/util.js | 11 +++++++++++ .../server/locale/en-US/common.properties | 1 + 2 files changed, 12 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index 42b283c5fd..1fc236c609 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -1484,6 +1484,17 @@ circ.util.hold_columns = function(modify,params) { } } }, + { + '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', diff --git a/Open-ILS/xul/staff_client/server/locale/en-US/common.properties b/Open-ILS/xul/staff_client/server/locale/en-US/common.properties index b8bb2fbaa8..d7e189106f 100644 --- a/Open-ILS/xul/staff_client/server/locale/en-US/common.properties +++ b/Open-ILS/xul/staff_client/server/locale/en-US/common.properties @@ -40,6 +40,7 @@ staff.acp_label_location=Location 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 -- 2.43.2