|
Lines 60-69
function toggle_onsite_checkout(){
Link Here
|
| 60 |
} |
60 |
} |
| 61 |
|
61 |
|
| 62 |
$(document).ready(function() { |
62 |
$(document).ready(function() { |
| 63 |
[% IF !NEEDSCONFIRMATION %] |
63 |
$('#mainform').on('submit',function() { |
| 64 |
$('#barcode').prop('disabled', false).focus(); |
|
|
| 65 |
[% END %] |
| 66 |
$('#mainform').bind('submit',function() { |
| 67 |
$('#barcode').on('keypress',function(event) { |
64 |
$('#barcode').on('keypress',function(event) { |
| 68 |
$('#barcodeSubmittedModal').modal(); |
65 |
$('#barcodeSubmittedModal').modal(); |
| 69 |
event.preventDefault(); } |
66 |
event.preventDefault(); } |
|
Lines 539-545
No patron matched <span class="ex">[% message %]</span>
Link Here
|
| 539 |
|
536 |
|
| 540 |
<div class="hint">Enter item barcode:</div> |
537 |
<div class="hint">Enter item barcode:</div> |
| 541 |
|
538 |
|
| 542 |
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" /> |
539 |
[% IF NEEDSCONFIRMATION %] |
|
|
540 |
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" /> |
| 541 |
[% ELSE %] |
| 542 |
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> |
| 543 |
[% END %] |
| 543 |
<button type="submit" class="btn">Check out</button> |
544 |
<button type="submit" class="btn">Check out</button> |
| 544 |
|
545 |
|
| 545 |
<div class="date-select"> |
546 |
<div class="date-select"> |
| 546 |
- |
|
|