From cf5bc61b50b89a2985cb25ee0a20dfaca5c8d246 Mon Sep 17 00:00:00 2001 From: Koha instance kohadev-koha Date: Sun, 28 Oct 2018 15:17:25 +0000 Subject: [PATCH] Bug 21467: (QA follow-up) Fix filter and variable declaration in .t Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 +- t/db_dependent/Acquisition.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt index 264b6146ea..73eab73289 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -76,7 +76,7 @@ [% IF order.invoice %] [% IF CAN_user_acquisition %] - + [% order.invoice.invoicenumber | html %] [% ELSE %] [% order.invoice.invoicenumber | html %] diff --git a/t/db_dependent/Acquisition.t b/t/db_dependent/Acquisition.t index 568f7e613b..44ab5c1dc8 100755 --- a/t/db_dependent/Acquisition.t +++ b/t/db_dependent/Acquisition.t @@ -730,7 +730,7 @@ subtest 'ModReceiveOrder and subscription' => sub { # We do not want the note from the original note to be modified # Keeping it will permit to display it for future receptions $order_info->{order_internalnote} = $second_note; - my ( undef, my $received_ordernumber ) = ModReceiveOrder( + my ( undef, $received_ordernumber ) = ModReceiveOrder( { biblionumber => $order->biblionumber, order => $order_info, -- 2.11.0