]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 22 Apr 2021 14:15:59 +0000 (16:15 +0200)
commit08aee787b663590b06799a7478d9f709f6727de0
treedbfb585d26f0cc793b06358813aed2e305c750c7
parent6b64f2fe1f26734385f4d8fe268a58a7be01f596
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>
(cherry picked from commit 54c5ee570648ef9b35f0333ab88e1353a74d9ffa)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt