From b5cf4012ff0f208e57942e1fb8d6e713a2f3a98d 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 Signed-off-by: Nick Clemens --- 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 e79648caf1..673717793e 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 7fbc71abca..807a3ecebe 100755 --- a/t/db_dependent/Acquisition.t +++ b/t/db_dependent/Acquisition.t @@ -735,7 +735,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.39.5