]> git.koha-community.org Git - koha.git/commit
Bug 28103: Fix barcode plugin on the order receive view
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 9 Apr 2021 09:58:34 +0000 (11:58 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Apr 2021 10:28:17 +0000 (12:28 +0200)
commit54c5ee570648ef9b35f0333ab88e1353a74d9ffa
tree83714c153ffd5a27ec1b737ee172ff532e315d24
parent71574961f7322e04e996b11f9932b2006ea93215
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 <branchcode>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 <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt