@@ -, +, @@ --- acqui/addorder.pl | 6 ++++++ 1 file changed, 6 insertions(+) --- a/acqui/addorder.pl +++ a/acqui/addorder.pl @@ -338,6 +338,12 @@ if ( $basket->{is_standing} || $orderinfo->{quantity} ne '0' ) { STATUS => 'ORDERED', } ); + if ( C4::Context->preference('PlaceHoldsOnOrdersFromSuggestions') ) { + my $suggestion = Koha::Suggestions->find($suggestionid); + if ($suggestion) { + $suggestion->place_hold(); + } + } } $orderinfo->{unitprice} = $orderinfo->{ecost} if not defined $orderinfo->{unitprice} or $orderinfo->{unitprice} eq ''; --