From 6622633d58332ff9ebf1f7247e8f7fe74fce63a4 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 Signed-off-by: Bill Erickson --- 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 966e8f2866..16b3325f71 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -3227,6 +3227,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