From: Bill Erickson Date: Thu, 8 Dec 2011 18:24:32 +0000 (-0500) Subject: acq vandelay : UI; standalone vlagent response display part 2; vendor upload X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0d08d4dde8511d1366deb54e54c97f7951ad3ee2;p=evergreen%2Fequinox.git acq vandelay : UI; standalone vlagent response display part 2; vendor upload Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/acq/common/vlagent.tt2 b/Open-ILS/src/templates/acq/common/vlagent.tt2 index ce81494a6b..7c8ee66761 100644 --- a/Open-ILS/src/templates/acq/common/vlagent.tt2 +++ b/Open-ILS/src/templates/acq/common/vlagent.tt2 @@ -53,15 +53,15 @@ 0 - [% l('Vandelay Records Queued') %] + [% l('Vandelay Records Processed') %] 0 - [% l('Bib Records Merged/Created') %] + [% l('Bib Records Merged/Imported') %] 0 - [% l('Items Processed') %] + [% l('ACQ Copies Processed') %] 0 @@ -69,15 +69,7 @@ 0 - [% l('Bib Records Imported') %] - 0 - - - [% l('Bib Records Indexed') %] - 0 - - - [% l('Copies Processed') %] + [% l('Real Copies Processed') %] 0 diff --git a/Open-ILS/src/templates/acq/picklist/upload.tt2 b/Open-ILS/src/templates/acq/picklist/upload.tt2 index cd702d2fff..fc03106c0e 100644 --- a/Open-ILS/src/templates/acq/picklist/upload.tt2 +++ b/Open-ILS/src/templates/acq/picklist/upload.tt2 @@ -1,4 +1,5 @@ [% WRAPPER 'base.tt2' %] +[% PROCESS 'acq/common/vlagent.tt2' %]

Upload


@@ -33,9 +34,7 @@
- - [% INCLUDE 'acq/common/vlagent.tt2' %] - + [% PROCESS vlagent_form %]
@@ -55,41 +54,12 @@
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Lineitems Processed0
[% l('Vandelay Records Queued') %]0
[% l('Bib Records Merged/Created') %]0
Items Processed0
Debits Encumbered0
Copies Created0
+ [% PROCESS vlagent_results %] +
diff --git a/Open-ILS/web/js/ui/default/acq/common/vlagent.js b/Open-ILS/web/js/ui/default/acq/common/vlagent.js index 5cef8e6a8f..1af1f771af 100644 --- a/Open-ILS/web/js/ui/default/acq/common/vlagent.js +++ b/Open-ILS/web/js/ui/default/acq/common/vlagent.js @@ -87,7 +87,9 @@ function VLAgent(args) { res.queue_url = oilsBasePath + '/vandelay/vandelay?qtype=bib&qid=' + resp.queue.id(); } - if (oncomplete) oncomplete(resp, res); + if (oncomplete) + oncomplete(resp, res); + return res; }