Bug 21333: Add ability to add to basket from a new file
authorNick Clemens <nick@bywatersolutions.com>
Tue, 11 Sep 2018 16:26:04 +0000 (16:26 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 26 Sep 2018 19:05:53 +0000 (19:05 +0000)
commit393b2582349b48f67e5693629bb197aa73df31a1
treeaa06c102cee4584ad52b1a8df382c5f61fa06c04
parent172f2e0e05759baa6c60d86acd9981fef499a162
Bug 21333: Add ability to add to basket from a new file

This patch adds a workflow for adding to a basket from a file. It
removes the need to stage the file before going to the basket and allows
you to stage the file and return to the basket

To test:
1 - Have basket in acquissitions
2 - Click add to basket
3 - Note new option to 'Add from new file'
4 - Click it
5 - You will be sent to the record import tool
6 - Stage your file
7 - There is a link after staging 'Add records to basket'
8 - Click it
9 - Your items should be added

Signed-off-by: Sonia <sonia.bouis@univ-lyon3.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-add-to-basket.inc
koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt
tools/stage-marc-import.pl