From c16297b6beaba8f0aceb4a4a02f971d3523e68ce Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Thu, 28 Jul 2011 08:16:22 -0400 Subject: [PATCH] acq user requests link from patron display Signed-off-by: Jason Etheridge --- Open-ILS/web/opac/locale/en-US/lang.dtd | 2 ++ Open-ILS/xul/staff_client/chrome/content/main/constants.js | 1 + Open-ILS/xul/staff_client/server/patron/display.js | 13 +++++++++++++ Open-ILS/xul/staff_client/server/patron/display.xul | 1 + .../staff_client/server/patron/display_horiz_overlay.xul | 1 + Open-ILS/xul/staff_client/server/patron/display_overlay.xul | 1 + 6 files changed, 19 insertions(+) diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index 4003508bc5..c1c1df7966 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -3204,6 +3204,8 @@ + + diff --git a/Open-ILS/xul/staff_client/chrome/content/main/constants.js b/Open-ILS/xul/staff_client/chrome/content/main/constants.js index 9413809d17..257dea7cc6 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -499,5 +499,6 @@ var urls = { 'XUL_LOCAL_ADMIN_BASE' : '/xul/server/admin', 'XUL_REPORTS' : '/reports/oils_rpt.xhtml', 'EG_ACQ_PO_VIEW' : '/eg/acq/po/view', + 'EG_ACQ_USER_REQUESTS' : '/eg/acq/picklist/user_request', 'XUL_SERIAL_BATCH_RECEIVE': '/xul/server/serial/batch_receive.xul' } diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js index 29ad28d947..3cf9f96f69 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.js +++ b/Open-ILS/xul/staff_client/server/patron/display.js @@ -370,6 +370,19 @@ patron.display.prototype = { ); } ], + 'cmd_patron_info_acq_requests' : [ + ['command'], + function(ev) { + obj.right_deck.set_iframe( + urls.EG_ACQ_USER_REQUESTS + '?usr=' + obj.patron.id(), + {}, + { + 'get_barcodes' : function(a) { return xulG.get_barcodes(a); } + } + ); + } + ], + 'cmd_patron_info_groups' : [ ['command'], function(ev) { diff --git a/Open-ILS/xul/staff_client/server/patron/display.xul b/Open-ILS/xul/staff_client/server/patron/display.xul index 60230451bd..0d3c8d6fb4 100644 --- a/Open-ILS/xul/staff_client/server/patron/display.xul +++ b/Open-ILS/xul/staff_client/server/patron/display.xul @@ -100,6 +100,7 @@ + diff --git a/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul b/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul index d37dbb4329..bbd1b5c12c 100644 --- a/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/display_horiz_overlay.xul @@ -100,6 +100,7 @@ + diff --git a/Open-ILS/xul/staff_client/server/patron/display_overlay.xul b/Open-ILS/xul/staff_client/server/patron/display_overlay.xul index e94256e06f..03b8d41928 100644 --- a/Open-ILS/xul/staff_client/server/patron/display_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/display_overlay.xul @@ -100,6 +100,7 @@ + -- 2.11.0