]> git.koha-community.org Git - koha.git/commit
Bug 32256: Handle batch error messages better
authorAleisha Amohia <aleishaamohia@hotmail.com>
Mon, 29 Apr 2024 04:37:50 +0000 (04:37 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 8 May 2024 16:23:54 +0000 (18:23 +0200)
commitbb059abe90c4be84d3354ba0c716566227b39c64
treeb7b2cdc04b1ba776e2935d04dcf38c56518d301c
parent3c57d0f3db065b0aebbebad1c08b14bee8bd3016
Bug 32256: Handle batch error messages better

This enhancement modifies the self-checkout script to better handle 'impossible' and 'needs confirmation' checkout messages.

Test with a combination of barcodes that would invoke these messages, for example:
- impossible: barcode doesn't exist
- impossible: barcode is for a 'notforloan' item type
- impossible: debt
- needs confirmation: barcode already checked out, i.e. confirm renewal

Include barcodes that should have successful checkouts too.

Also, test with the following sysprefs:
- BatchCheckouts: enabled
- BatchCheckoutsValidCategories: none selected

Confirm SCO does not have a multi-line text area for more than one barcode, and doesn't accept more than one barcode.

Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org>
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/en/modules/sco/sco-main.tt
opac/sco/sco-main.pl