Bug 35254: [22.11.x] Add import_record_id to order inputs
authorNick Clemens <nick@bywatersolutions.com>
Fri, 3 Nov 2023 20:10:01 +0000 (20:10 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 11 Dec 2023 16:05:24 +0000 (17:05 +0100)
commitb44fc4918e383db6555552e9b8231e31c9e6f05b
treeccbf3080dfed685704c43c6df0b8013ffe859068
parentc6b7abab73c000f65e3c44b61b65f425b1ae98f5
Bug 35254: [22.11.x] 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: Frédéric Demians <f.demians@tamil.fr>
acqui/addorderiso2709.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt