]> git.koha-community.org Git - koha.git/commit
Bug 37742: Fix error display
authorDavid Cook <dcook@prosentient.com.au>
Tue, 27 Aug 2024 03:50:44 +0000 (03:50 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 25 Oct 2024 13:34:39 +0000 (15:34 +0200)
commit3237baeb0b37d189801045cc7bce15f1a3e1b7b4
tree34473a7f8c8f5e4e2dd4eb0c5650db3c3ccc9ae1
parent94ce572755a74e0b73b8261f760a345d081850ad
Bug 37742: Fix error display

This change fixes the display of the error message on "My virtual card"
on the OPAC.

Test plan:
0. Apply the patch and enable syspref "OPACVirtualCard"
1. Go to http://localhost:8081/cgi-bin/koha/members/memberentry.pl
?op=edit_form&destination=circ&borrowernumber=51
2. Add an asterisk (*) to the end of the card number
3. Go to http://localhost:8080/cgi-bin/koha/opac-virtual-card.pl
4. Note that the error message appears as follows:
Code 39 must contain only digits, capital letters, spaces and the symbols -.$/+%

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/opac-tmpl/bootstrap/js/barcode-generator.js