ACQ Upload import-copy option collab/berick/acq-upload-import-copies-option
authorBill Erickson <berick@esilibrary.com>
Mon, 26 Mar 2012 15:29:08 +0000 (11:29 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 26 Mar 2012 15:37:14 +0000 (11:37 -0400)
commit4732fd768620d9ba4aaf43d8e00eee03874ca8c9
treef0a7c07d2e2b816d97ce5976004ecfaa312aad63
parent54d4887c7d232ed8af0924d8ed80dd28526ca6fb
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>
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