ACQ Upload import-copy option collab/dyrcona/acq-upload-import-copies-option
authorBill Erickson <berick@esilibrary.com>
Mon, 26 Mar 2012 15:29:08 +0000 (11:29 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Fri, 30 Mar 2012 20:19:09 +0000 (16:19 -0400)
commit651784921b408d448c1c4a420941860d75297036
treed913267e11da17bd85a20f8362a124200379f4d6
parent599bcc3b039db43edbf49350cbcde8d52f64880c
ACQ Upload import-copy option

With the addition of the new Vandelay features in ACQ, the "Load bibs
and Items" option was replaced with Vandeley import options.  In the
context of ACQ, however, Vandelay is only concerned with importing bibs
and not copies.  Subsequently, the user lost the ability to both create
catalog records and catalog copies in one step during ACQ upload.

The patch remedies that by providing a new "Load Items for Imported
Records" option within the upload page.  When enabled, all successfully
loaded ACQ copies will also be imported as real/catalog copies.

Note that it's only added to the upload page, because all other ACQ
interfaces assume that both bibs and copies should be created (e.g.
during PO activation).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
Open-ILS/src/templates/acq/common/vlagent.tt2
Open-ILS/src/templates/acq/picklist/upload.tt2
Open-ILS/web/js/ui/default/acq/common/vlagent.js