From 50d9dba5dd1d9893bba26d1283982e27ceac8376 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 --- Koha/EDI.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Koha/EDI.pm b/Koha/EDI.pm index fcf352c..4840fe1 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.1.4