]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Sun, 25 Apr 2021 16:17:38 +0000 (16:17 +0000)
commit97ad010674cd41f28d737b2b5080c07b2c782e3f
tree02d73f288093078a67d0dbd7d36d8800eee1c5e8
parent971cb72dde2cd9eee8d81f7e1083115016f6acab
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>
(cherry picked from commit 08aee787b663590b06799a7478d9f709f6727de0)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt