From b7c8ac23d53ab851723cd2f0731c9e6781ff4009 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 24 Dec 2015 14:53:16 +0000 Subject: [PATCH] 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 Sponsored by: Middletown Township Public Library (http://www.mtpl.org) --- .../intranet-tmpl/prog/en/includes/additem.js.inc | 3 ++ koha-tmpl/intranet-tmpl/prog/en/js/additem.js | 54 ++++++++++++++++++++-- .../prog/en/modules/acqui/neworderempty.tt | 24 ++++++++++ 3 files changed, 78 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/additem.js.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/additem.js.inc index 28d39e4..1ecee30 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/additem.js.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/additem.js.inc @@ -1,6 +1,9 @@