Bug 35254: Add import_record_id to order inputs
authorNick Clemens <nick@bywatersolutions.com>
Fri, 3 Nov 2023 20:10:01 +0000 (20:10 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 11 Nov 2023 07:07:59 +0000 (21:07 -1000)
commit200732f2cfa19ac0466f933fad980d89dda35e09
treed09b6d8d027ba98171ae0b85aa132e2235e028e2
parent4e34b92112df0e97d7a4fcc72c5bd95ca7c202dd
Bug 35254: Add import_record_id to order inputs

This patch follows the logic of bug 32166 and adds specific inputs for each order to avoid any misalignment when some records are not imported

To test:
1 - Find a vendor in acquisitions
2 - Create or find an open basket
3 - Add to basket form a new file
4 - Stage file and add to basket
5 - Select the second record in the list
6 - Enter price info
7 - Save (don't forget, you need to set item type in the second tab)
8 - The order has no price info!
9 - Apply patch
10 - Repeat 3-7 above, staging file fresh
11 - Confirm order has correct prices
12 - Test with a file with many records
13 - Confirm any combination of choosing/skipping records works as expected

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 7e2f6d66d6a8cae55d3c879ec2ce89af59439ffa)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
acqui/addorderiso2709.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt