Bug 34645: (follow-up) save sort1 and sort2 in order

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2023-09-25 13:12:40 +00:00 committed by Tomas Cohen Arazi
parent f3bf1f3da5
commit 9f41a0fb97
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -293,6 +293,8 @@ if ($op eq ""){
$orderinfo{ecost} = $order_discount ? $price * ( 1 - $order_discount / 100 ) : $price;
$orderinfo{listprice} = $orderinfo{rrp} / $active_currency->rate;
$orderinfo{unitprice} = $orderinfo{ecost};
$orderinfo{sort1} = $c_sort1;
$orderinfo{sort2} = $c_sort2;
} else {
$orderinfo{listprice} = 0;
}