Circulation - Disable Barcode Field If Item Needs Confirmation

When issuing items, if a confirmation screen comes up,
another item can still be scanned into the barcode field.

If a librarian does not notice the confirmation dialog,
he or she may continue scanning items without confirming
the issue and thus give a patron an item without it actually
being issued to the patron.

This patch disables the barcode field until the confirmation
question is answered.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Kyle M Hall 2010-03-04 16:17:05 +00:00 committed by Galen Charlton
parent 6532f712b7
commit 9a989c9e58

View file

@ -406,7 +406,7 @@ No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
<label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
<div class="hint">Enter item barcode:</div>
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> <input type="submit" value="Check Out" />
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->disabled="disabled"<!-- /TMPL_IF -->/> <input type="submit" value="Check Out" />
<!-- TMPL_IF NAME="SpecifyDueDate" --><div class="date-select">
<div class="hint">Specify Due Date <!-- TMPL_INCLUDE NAME="date-format.inc" -->: </div>