From caf7bd3c3f3f307ab8d3faee972ac18b8427c4d2 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Tue, 16 Oct 2018 16:27:17 +0100 Subject: [PATCH] Bug 21580 Pass buyer_ean to create_edi_order create_edi_order requires two parameters to be passed but if vendor was set to auto_order the subroutine was called with basketno only resulting in the error 'no basket or ean passed' - pass the buyer_ean as passed in the quotes message Signed-off-by: Brendan Gallagher --- Koha/EDI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/EDI.pm b/Koha/EDI.pm index 4e730de286..5ac92d7c55 100644 --- a/Koha/EDI.pm +++ b/Koha/EDI.pm @@ -541,7 +541,7 @@ sub process_quote { for my $b (@added_baskets) { create_edi_order( { - + ean => $messages->[0]->buyer_ean, basketno => $b, } ); -- 2.11.0