Koha/acqui
Nick Clemens bb2dcfdced
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>
2024-03-19 10:25:03 +01:00
..
acqui-home.pl Bug 35921: Improve perfs of acqui-home.pl when there are many budgets 2024-03-18 18:03:42 +01:00
addorder.pl Bug 27595: Place holds when ordering from a suggestion 2024-03-19 10:25:03 +01:00
addorderiso2709.pl Bug 33431: Fix remaining cases 2024-03-18 11:03:39 +01:00
ajax-getauthvaluedropbox.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
basket.pl Bug 34478: Manual fix - reopen basket - add cud- - basket.tt 2024-03-01 11:00:23 +01:00
basketgroup.pl Bug 34478: Basket group export CSV option should not check cud-op 2024-03-01 10:59:17 +01:00
basketheader.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
booksellers.pl Bug 33103: Prevent vendors to be displayed several times in the search result 2023-04-20 15:48:42 -03:00
cancelorder.pl Bug 34478: Manual fix - adjust op for acqui/cancelorder 2024-03-01 11:00:17 +01:00
check_budget_total.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
check_uniqueness.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
duplicate_orders.pl Bug 34478: Manual fix - duplicate_orders (cud-select) 2024-03-01 10:56:15 +01:00
edi_ean.pl Bug 34478: Manual fix - edi_ean (cud-ediorder) 2024-03-01 10:56:22 +01:00
edifactmsgs.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
edimsg.pl Bug 17600: Fix tests 2021-07-16 09:47:01 +02:00
finishreceive.pl Bug 36193: Fix acq receiving 2024-03-12 17:47:28 +01:00
histsearch.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
invoice-files.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
invoice.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
invoices.pl Bug 36233: Use select2 to load vendors on invoice search 2024-03-15 09:38:37 +01:00
lateorders-export.pl Bug 15348: trivial code simplification 2022-09-16 10:36:53 -03:00
lateorders.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
moddeliverydate.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
modordernotes.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
neworderempty.pl Bug 34478: Manual fix - Switch to post, update op - neworderempty_duplicate 2024-03-01 10:56:43 +01:00
newordersubscription.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
newordersuggestion.pl Bug 23991: Move SearchSuggestion to Koha::Suggestions 2022-06-27 12:30:28 -03:00
ordered.pl Bug 31631: Optionally use tax-exclusive values for calculating fund values 2023-10-18 15:41:35 -03:00
orderreceive.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
parcel.pl Bug 36193: cud- treatment for Acq order receipt cancelling 2024-03-12 17:47:28 +01:00
parcels.pl Bug 34478: op =~ ^cud- in pl/pm - Manual parcels.pl 2024-03-01 10:56:32 +01:00
showorder.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
spent.pl Bug 31631: (QA follow-up) Tidy code 2023-10-18 15:41:37 -03:00
supplier.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
transferorder.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
uncertainprice.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
updatesupplier.pl Bug 34478: Changes for acqui/supplier 2024-03-01 10:57:47 +01:00
vendor_issues.pl Bug 34478: Manual fix - acqui/vendor_issues.pl 2024-03-01 10:59:50 +01:00
z3950_search.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00