From 544fd8fc2c4d5e87060561efc7b0245af7f17071 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Tue, 19 Sep 2017 12:58:12 +0100 Subject: [PATCH] Bug 19340 Read basket details of transfer partner Details of the basket an order is tranferred to or from are displayed in the basket display. Unfortunately these details were not being read so the display incorrectly showed the details of the current owning basket. Signed-off-by: David Bourgault Signed-off-by: Nick Clemens --- acqui/basket.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/acqui/basket.pl b/acqui/basket.pl index 1f97d18..0719618 100755 --- a/acqui/basket.pl +++ b/acqui/basket.pl @@ -504,6 +504,7 @@ sub get_order_infos { foreach my $key (qw(transferred_from transferred_to)) { if ($line{$key}) { my $order = GetOrder($line{$key}); + my $basket = GetBasket($order->{basketno}); my $bookseller = Koha::Acquisition::Booksellers->find( $basket->{booksellerid} ); $line{$key} = { order => $order, -- 2.1.4