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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Wed, 20 Jan 2021 01:19:01 +0000 (01:19 +0000)
commit2648c25224a9acc4de0a2daf38f84ed876f02a8f
tree2cc320758bc6fa7179f7f3210417a0e38e8efa45
parent19dd472ec5e5f2d360bee989d26fa6b3a1910fed
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>
(cherry picked from commit 99cebb82dc6fd1aa3f7466f03a267cac9deedc6c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 5f126b129128ecbf7a65eda4b5b62f355c7349d8)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
acqui/addorderiso2709.pl