Bug 11360 - Disable barcode field and submit button when a hold is found
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 18 Nov 2015 18:53:03 +0000 (18:53 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 2 Sep 2016 16:16:25 +0000 (16:16 +0000)
commit872892b03cbc4de4e2be1c33e2e07b0bf72883a3
tree58b35b83a17a4c4ae3676d3dbe6bfa328c0c95cd
parentaef77798a98ed89ebf2200a23b7bfc17760d77e2
Bug 11360 - Disable barcode field and submit button when a hold is found

At the moment when scanning in returns, it can be easy to miss a hold
trap due to the fact that the barcode and submit are still active and
the barcode field is focused on. A librarian who is focused on scanning
can easily scan another item and pass over the form, which is equivalent
to clicking the "ignore" button.

Test Plan:
1) Apply this patch
2) Trap a hold, note the new modal
3) Check the hold in a second time
4) Note the new modal
5) For each modal, test each button

Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt