From bc2cc99d35b0ce6853020cfa30c53ae95f2a0351 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 21 Dec 2005 17:39:38 +0000 Subject: [PATCH] gather credit card/check info. Use stash for getting data from a modal window git-svn-id: svn://svn.open-ils.org/ILS/trunk@2504 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../chrome/content/evergreen/OpenILS/data.js | 2 + .../content/evergreen/main/constants.js | 2 + .../chrome/content/evergreen/main/main.js | 2 +- .../server/patron/bill_cc_info.xul | 94 +++++++++++++++++++ .../server/patron/bill_check_info.xul | 82 ++++++++++++++++ .../xul/staff_client/server/patron/bills.js | 28 +++++- 6 files changed, 207 insertions(+), 3 deletions(-) create mode 100644 Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul create mode 100644 Open-ILS/xul/staff_client/server/patron/bill_check_info.xul diff --git a/Open-ILS/xul/staff_client/chrome/content/evergreen/OpenILS/data.js b/Open-ILS/xul/staff_client/chrome/content/evergreen/OpenILS/data.js index f3dffc54e9..241405eb8e 100644 --- a/Open-ILS/xul/staff_client/chrome/content/evergreen/OpenILS/data.js +++ b/Open-ILS/xul/staff_client/chrome/content/evergreen/OpenILS/data.js @@ -14,6 +14,8 @@ OpenILS.data.prototype = { 'list' : {}, 'hash' : {}, + 'temp' : '', + 'init' : function (params) { try { diff --git a/Open-ILS/xul/staff_client/chrome/content/evergreen/main/constants.js b/Open-ILS/xul/staff_client/chrome/content/evergreen/main/constants.js index 779a2efa7c..3d8be6ad47 100644 --- a/Open-ILS/xul/staff_client/chrome/content/evergreen/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/evergreen/main/constants.js @@ -45,6 +45,8 @@ var urls = { 'remote_menu_frame' : '/xul/server/main/menu_frame.xul', 'remote_patron_barcode_entry' : '/xul/server/patron/barcode_entry.xul', 'remote_patron_bills' : '/xul/server/patron/bills.xul', + 'remote_patron_bill_cc_info' : '/xul/server/patron/bill_cc_info.xul', + 'remote_patron_bill_check_info' : '/xul/server/patron/bill_check_info.xul', 'remote_patron_bill_details' : '/xul/server/patron/bill_details.xul', 'remote_patron_bill_wizard' : '/xul/server/patron/bill_wizard.xul', 'remote_patron_display' : '/xul/server/patron/display.xul', diff --git a/Open-ILS/xul/staff_client/chrome/content/evergreen/main/main.js b/Open-ILS/xul/staff_client/chrome/content/evergreen/main/main.js index eb191032e9..37b5031e10 100644 --- a/Open-ILS/xul/staff_client/chrome/content/evergreen/main/main.js +++ b/Open-ILS/xul/staff_client/chrome/content/evergreen/main/main.js @@ -50,7 +50,7 @@ function main_init() { G.OpenILS.data.session = G.auth.session.key; G.OpenILS.data.on_complete = function () { - G.OpenILS.data.stash('list','hash'); + G.OpenILS.data.stash('list','hash','temp'); G.OpenILS.data._debug_stash(); G.window.open(urls.remote + urls.remote_menu_frame diff --git a/Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul b/Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul new file mode 100644 index 0000000000..80850bd650 --- /dev/null +++ b/Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +