From e320dd8c4cf0160ab31a20a6e6e52f5b797e7f5c Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 26 Apr 2010 20:51:39 +0000 Subject: [PATCH] IDL: added pcrud entry for acq selection list. added selector columns to PL and PO. removed now-virtual item_count column from acq.acq_lineitem_history repaired faulty pcrud actions stanza for acq po AutoGrid added a readOnly edit mode to AutoGrid. this will allow users to pop up the edit dialog for copy/paste, since it is not (currently) possible to copy values directly from a dojo grid new UIs added a lineitem history ui which shows the audit values from a given lineitem added a po history ui which shows the audit values from a given po git-svn-id: svn://svn.open-ils.org/ILS/trunk@16316 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/fm_IDL.xml | 16 ++++++++---- Open-ILS/web/js/dojo/openils/widget/AutoGrid.js | 2 ++ .../web/templates/default/acq/lineitem/history.tt2 | 29 ++++++++++++++++++++++ Open-ILS/web/templates/default/acq/po/history.tt2 | 29 ++++++++++++++++++++++ 4 files changed, 71 insertions(+), 5 deletions(-) create mode 100644 Open-ILS/web/templates/default/acq/lineitem/history.tt2 create mode 100644 Open-ILS/web/templates/default/acq/po/history.tt2 diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 23c156557a..5d771aace8 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -5270,9 +5270,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - + - + @@ -5290,6 +5290,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + + + + @@ -5314,7 +5319,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - + @@ -5383,7 +5388,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - + + + @@ -5491,7 +5498,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js b/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js index 34ac133bcf..08384b690b 100644 --- a/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js +++ b/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js @@ -18,6 +18,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) { editOnEnter : false, defaultCellWidth : null, editStyle : 'dialog', + editReadOnly : false, suppressFields : null, hideSelector : false, selectorWidth : '1.5', @@ -376,6 +377,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) { var pane = new openils.widget.EditPane({ fmObject:fmObject, + hideActionButtons : this.editReadOnly, overrideWidgets : this.overrideEditWidgets, overrideWidgetClass : this.overrideEditWidgetClass, overrideWidgetArgs : this.overrideWidgetArgs, diff --git a/Open-ILS/web/templates/default/acq/lineitem/history.tt2 b/Open-ILS/web/templates/default/acq/lineitem/history.tt2 new file mode 100644 index 0000000000..4d0eaed412 --- /dev/null +++ b/Open-ILS/web/templates/default/acq/lineitem/history.tt2 @@ -0,0 +1,29 @@ +[% WRAPPER "default/base.tt2" %] +[% ctx.page_title = "Lineitem History" %] + +

Lineitem History

+
+
+ +
+
+[% END %] diff --git a/Open-ILS/web/templates/default/acq/po/history.tt2 b/Open-ILS/web/templates/default/acq/po/history.tt2 new file mode 100644 index 0000000000..54545d4e53 --- /dev/null +++ b/Open-ILS/web/templates/default/acq/po/history.tt2 @@ -0,0 +1,29 @@ +[% WRAPPER "default/base.tt2" %] +[% ctx.page_title = "PO History" %] + +

Purchase Order History

+
+
+ +
+
+[% END %] -- 2.11.0