From 61cfb6e24172804e48edc01e9dde2081cffcbaec Mon Sep 17 00:00:00 2001 From: Christophe Croullebois Date: Wed, 23 Aug 2017 07:57:30 +0000 Subject: [PATCH] Bug 19165 - When adding from a staged file order discounts are not passed into C4::Acquisitions::populate_order_with_prices Signed-off-by: Your Name --- acqui/addorderiso2709.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl index 8175379f2e..5c8739b334 100755 --- a/acqui/addorderiso2709.pl +++ b/acqui/addorderiso2709.pl @@ -221,6 +221,7 @@ if ($op eq ""){ $price = Koha::Number::Price->new($price)->unformat; $orderinfo{tax_rate} = $bookseller->{tax_rate}; my $c = $c_discount ? $c_discount : $bookseller->{discount} / 100; + $orderinfo{discount} = $c; if ( $bookseller->{listincgst} ) { if ( $c_discount ) { $orderinfo{ecost} = $price; -- 2.39.5