From aa2f92032b054eef49044124d41fb3faf2d386b3 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 --- Open-ILS/examples/fm_IDL.xml | 2 +- Open-ILS/src/templates/acq/common/li_table.tt2 | 172 ++++++++++++-------- 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(+), 85 deletions(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 67db835ead..3668b4def4 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -8461,7 +8461,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 a45b00a48a..4da05456b9 100644 --- a/Open-ILS/src/templates/acq/common/li_table.tt2 +++ b/Open-ILS/src/templates/acq/common/li_table.tt2 @@ -6,73 +6,113 @@