Bug 15184: Add the ability to duplicate existing order lines
commitbf5d8115f5db26b43f829932b657bf864dce7a04
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Jul 2018 18:48:31 +0000 (27 15:48 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 8 Nov 2018 15:52:57 +0000 (8 15:52 +0000)
tree490ed313959d8c25895ed670e94d7a3c4b1f9a84
parent1c58a309f1bbbc3650924f2520b8b021a9b2a262
Bug 15184: Add the ability to duplicate existing order lines

This patchset adds the ability to duplicate existing order lines to a
given basket. It will help acquisitions of serials of when the same
publication is ordered frequently.

The workflow will be:
- Create a new basket
- Use the "Add to basket" button
- Select the new entry "From existing orders (copy)"
- Search and select the order you want to duplicate
- Define some default values for these orders
- Duplicate!

Sponsored-by: BULAC - http://www.bulac.fr/
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Acquisition/Order.pm
acqui/duplicate_orders.pl [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-add-to-basket.inc
koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc
koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt [new file with mode: 0644]