From c9da416690a193d7f36493f69667538aafa8affe Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Mon, 11 Jun 2018 11:44:39 +0100 Subject: [PATCH] Bug 18639: Use replacementprice when creating order from quote Updates column name from rrp -> replacementprice when creating order from EDI QUOTE message Also ensure other rrp_tax* fields populated Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens --- Koha/EDI.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Koha/EDI.pm b/Koha/EDI.pm index fcf352c6f8..4840fe1f5a 100644 --- a/Koha/EDI.pm +++ b/Koha/EDI.pm @@ -591,7 +591,9 @@ sub quote_item { quantityreceived => 0, order_vendornote => q{}, order_internalnote => $order_note, - rrp => $item->price, + replacementprice => $item->price, + rrp_tax_included => $item->price, + rrp_tax_excluded => $item->price, ecost => _discounted_price( $quote->vendor->discount, $item->price ), uncertainprice => 0, sort1 => q{}, -- 2.39.5