From f2613246745c63c220c811df03e3f6d8724666c8 Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Fri, 8 Mar 2013 14:10:12 -0500 Subject: [PATCH] Acq: Line item batch update UI This UI enhancement uses the API method in the previous commit to allow users to apply changes to the copies on a selected set of line items. When successful, the updater just reloads the whole page, but it can be made smarter later, i.e. by refreshing only the affected line items rows in the display. The UI only appears on POs for now, and is partly disabled if the PO has already been activated. It could appear elsewhere if it seems sensible to put it elsewhere. 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 + ...ovements.txt => acq-interface-improvements.txt} | 14 +- 7 files changed, 297 insertions(+), 87 deletions(-) rename docs/RELEASE_NOTES_NEXT/{acq_po_interface_improvements.txt => acq-interface-improvements.txt} (54%) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 526c7a60cd..8e87757ed4 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -8462,7 +8462,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 @@