Bug 14752 - Add multiple copies to a basket at once
authorNick Clemens <nick@bywatersolutions.com>
Thu, 24 Dec 2015 14:53:16 +0000 (14:53 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 13 Sep 2016 17:21:04 +0000 (17:21 +0000)
commitbdcbada8b892c3e322c1a9378d9343b4eb9f2089
tree26ca0cfe0d6a98e790ba7b535e99a18be4d21d96
parent75c61b94f34d406aaa8ac862024ccfd3d9030cc8
Bug 14752 - Add multiple copies to a basket at once

This patch add an 'Add multiple copies' button on the new order page in
acquisitions.  While processing the multiple copies a modal is
displayed.

To test:
1 - Add an order to an acquisitions basket
2 - Choose to add multiple items
3 - A modal shouold warn about ignoring UniqueItemFields from syspref
4 - When submitting the modal should popup until all items are processed.
5 - The modal should disappear after items are added.
6 - Items should be cloned, minus unique fields
7 - Enable autoBarcode for various formats, ensure you are warned that
barcodes will be generated, and ensure they are generated correctly

Sponsored by: Middletown Township Public Library (http://www.mtpl.org)

Signed-off-by: sonia BOUIS <sonia.bouis@univ-lyon3.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
acqui/addorder.pl
koha-tmpl/intranet-tmpl/prog/en/includes/additem.js.inc
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
koha-tmpl/intranet-tmpl/prog/js/additem.js