]> git.koha-community.org Git - koha.git/commit
Bug 27595: Place holds when ordering from a suggestion
authorNick Clemens <nick@bywatersolutions.com>
Mon, 4 Dec 2023 14:05:43 +0000 (14:05 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 19 Mar 2024 09:25:03 +0000 (10:25 +0100)
commitbb2dcfdced00f9dc7dde3913800c7dd9752d0e8a
tree216d5bf8fa2022077e7e01e5fa6b338a8183c555
parente4caa84e86865ff3e3ba95348355aa06ffdbb22e
Bug 27595: Place holds when ordering from a suggestion

This patch updates the ordering code to place a hold when adding to a basket from a
suggestion if the new preference PlaceHoldsOnOrdersFromSuggestions is enabled.

To test:
1 - Apply all patches
2 - updatedatabase
3 - See new system preference PlaceHoldsOnOrdersFromSuggestions
4 - Create a new purchase suggestion, mark it accepted
5 - Go to acquisitions, find a vendor, find a basket, 'Add to basket' -> 'From a suggestion'
6 - Complete order, confirm no hold was placed
7 - Enable the new system preference
8 - Repeast 4-6
9 - Confirm a hold was placed

Signed-off-by: Kelly <kelly@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
acqui/addorder.pl