Lines 696-710
Link Here
|
696 |
[% UNLESS ( itemloo.hide ) %] |
696 |
[% UNLESS ( itemloo.hide ) %] |
697 |
<tr class="[% itemloo.backgroundcolor | html %]"> |
697 |
<tr class="[% itemloo.backgroundcolor | html %]"> |
698 |
<td> |
698 |
<td> |
|
|
699 |
[% checkitem_type = "radio"; IF ( multi_hold ); checkitem_type = "checkbox"; END; %] |
699 |
[% IF force_hold_level == 'record' # Patron has placed a record level hold previously for this record %] |
700 |
[% IF force_hold_level == 'record' # Patron has placed a record level hold previously for this record %] |
700 |
<span class="error"> |
701 |
<span class="error"> |
701 |
<i class="fa fa-times fa-lg" title="Cannot be put on hold"></i> |
702 |
<i class="fa fa-times fa-lg" title="Cannot be put on hold"></i> |
702 |
Hold must be record level |
703 |
Hold must be record level |
703 |
</span> |
704 |
</span> |
704 |
[% ELSIF ( itemloo.available ) %] |
705 |
[% ELSIF ( itemloo.available ) %] |
705 |
<input type="checkbox" name="checkitem" value="[% itemloo.itemnumber | html %]" /> |
706 |
<input type="[% checkitem_type %]" name="checkitem" value="[% itemloo.itemnumber | html %]" /> |
706 |
[% ELSIF ( itemloo.override ) %] |
707 |
[% ELSIF ( itemloo.override ) %] |
707 |
<input type="checkbox" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" /> |
708 |
<input type="[% checkitem_type %]" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" /> |
708 |
<i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i> |
709 |
<i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i> |
709 |
[% ELSE %] |
710 |
[% ELSE %] |
710 |
<span class="error"> |
711 |
<span class="error"> |
Lines 1441-1451
Link Here
|
1441 |
|
1442 |
|
1442 |
if ( ! $("#requestany").is(":checked") ) { |
1443 |
if ( ! $("#requestany").is(":checked") ) { |
1443 |
// requestany not selected, go through the item-specific cases |
1444 |
// requestany not selected, go through the item-specific cases |
1444 |
if ( $('input[type="radio"]:checked').length > 0 ) { |
1445 |
if ( $('input[name="checkitem"]:checked').length > 0 ) { |
1445 |
// got item-specific hold requests in the form! |
1446 |
// got item-specific hold requests in the form! |
1446 |
// verify they have a pickup location selected |
1447 |
// verify they have a pickup location selected |
1447 |
|
1448 |
|
1448 |
if (table.find('input[type="radio"]:checked') |
1449 |
if (table.find('input[name="checkitem"]:checked') |
1449 |
.closest('tr') |
1450 |
.closest('tr') |
1450 |
.find(".pickup_locations").val() === null) { |
1451 |
.find(".pickup_locations").val() === null) { |
1451 |
|
1452 |
|
1452 |
- |
|
|