From 54c5ee570648ef9b35f0333ab88e1353a74d9ffa Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 9 Apr 2021 11:58:34 +0200 Subject: [PATCH] Bug 28103: Fix barcode plugin on the order receive view Fix the following error: Uncaught TypeError: Cannot read property 'field_value' of null Test plan: Set "AcqCreateItem" to "receiving an order" Set "autoBarcode" to "generated in the form yymm0001" Create an order and go to receive it at a path like /cgi-bin/koha/acqui/orderreceive.pl?ordernumber=2&invoiceid=1 Click on the barcode input and confirm that it's prefilled automatically Signed-off-by: Owen Leonard Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 50afa9748b..e3f0e4b450 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -46,7 +46,7 @@

Receive items from : [% name | html %] [% IF ( invoice ) %][[% invoice | html %]] [% END %] (order #[% order.ordernumber | html %])

[% IF ( order ) %] -
+
-- 2.39.5