From a8de68943c46f068b1b220a761b35c219cbc935f Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Fri, 8 Mar 2013 14:10:12 -0500 Subject: [PATCH] Acq Batch update UI First UI to use new middle layer batch updater. On success, this batch updater just reload the whole page, but it can be made smarter later. The UI only appears on POs for now, and is partly disabled if the PO has already been activated. The API call behind it returns the ID of each line item updated, so we could really just update the current page, especially if in the future we simplify the copies interface behind the li_table. Signed-off-by: Lebbeous Fogle-Weekley Conflicts: Open-ILS/src/templates/acq/common/li_table.tt2 --- Open-ILS/examples/fm_IDL.xml | 2 +- Open-ILS/src/templates/acq/common/li_table.tt2 | 175 ++++++++++++-------- Open-ILS/web/css/skin/default/acq.css | 4 + Open-ILS/web/js/dojo/openils/acq/nls/acq.js | 6 +- Open-ILS/web/js/ui/default/acq/common/li_table.js | 184 ++++++++++++++++++++-- Open-ILS/web/js/ui/default/acq/po/view_po.js | 2 + 6 files changed, 285 insertions(+), 88 deletions(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 76aad44e9b..247ee60fa1 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -8463,7 +8463,7 @@ SELECT usr, - + diff --git a/Open-ILS/src/templates/acq/common/li_table.tt2 b/Open-ILS/src/templates/acq/common/li_table.tt2 index 157d60ccf4..789c5e9093 100644 --- a/Open-ILS/src/templates/acq/common/li_table.tt2 +++ b/Open-ILS/src/templates/acq/common/li_table.tt2 @@ -6,76 +6,113 @@