Bug 24470: Mark a batch as 'imported' if all the bib has been imported
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 9 Dec 2020 14:22:35 +0000 (15:22 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 11 Jan 2021 09:28:02 +0000 (10:28 +0100)
commit99cebb82dc6fd1aa3f7466f03a267cac9deedc6c
treeefe663dc772b2f85ac2a7073e7f2ea5d264d35e8
parent6be845a785db29a946742edb7c52a0057d6b5f8b
Bug 24470: Mark a batch as 'imported' if all the bib has been imported

When a staged MARC file is used to populate a basket in acquisitions,
the status of the batch is kept as "staged" until a user repeat the operation.
The "imported" status is added to the batch when new orders are added to
a basket "from a new file" (yes!...)

Test plan:
- Create a basket
- Add to basket From a New File
- Select a marc file and stage
- Add titles to your basket
Until all your records are imported the batch will have the status
"staged"
When all your records will be imported, the status of the batch will be
"imported"

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
acqui/addorderiso2709.pl