Lines 306-311
Link Here
|
306 |
</li> |
306 |
</li> |
307 |
[% END %] |
307 |
[% END %] |
308 |
|
308 |
|
|
|
309 |
[% UNLESS forced_hold_level && ( forced_hold_level == 'item' || forced_hold_level == 'record' ) %] |
310 |
[% IF bibitemloo.object.volumes %] |
311 |
<li> |
312 |
<label for="itemtype">Request specific volume:</label> |
313 |
<select name="volume_id_[% bibitemloo.biblionumber | html %]" id="volume_id_[% bibitemloo.biblionumber | html %]" size="1"> |
314 |
<option value="">Any volume</option> |
315 |
[% FOREACH v IN bibitemloo.object.volumes %] |
316 |
<option value="[% v.id | html %]">[% v.description | html %]</option> |
317 |
[% END %] |
318 |
</select> |
319 |
</li> |
320 |
[% END %] |
321 |
[% END %] |
322 |
|
309 |
[% IF ( OpacHoldNotes ) %] |
323 |
[% IF ( OpacHoldNotes ) %] |
310 |
<li> |
324 |
<li> |
311 |
<div class="notesrow" id="notesrow_[% bibitemloo.biblionumber | html %]"> |
325 |
<div class="notesrow" id="notesrow_[% bibitemloo.biblionumber | html %]"> |
Lines 321-327
Link Here
|
321 |
[% IF bibitemloo.itemholdable %] |
335 |
[% IF bibitemloo.itemholdable %] |
322 |
<!-- ITEM HOLDS --> |
336 |
<!-- ITEM HOLDS --> |
323 |
<li class="lradio place_on_type" style="display:none;"> |
337 |
<li class="lradio place_on_type" style="display:none;"> |
324 |
[% IF NOT bibitemloo.force_hold %] |
338 |
[% UNLESS bibitemloo.forced_hold_level == 'item' || bibitemloo.forced_hold_level == 'volume' %] |
325 |
<label class="radio inline" for="reqany_[% bibitemloo.biblionumber | html %]">Next available item</label> |
339 |
<label class="radio inline" for="reqany_[% bibitemloo.biblionumber | html %]">Next available item</label> |
326 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]" |
340 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]" |
327 |
id="reqany_[% bibitemloo.biblionumber | html %]" |
341 |
id="reqany_[% bibitemloo.biblionumber | html %]" |
Lines 330-335
Link Here
|
330 |
checked="checked" |
344 |
checked="checked" |
331 |
/> |
345 |
/> |
332 |
[% END %] |
346 |
[% END %] |
|
|
347 |
|
333 |
<label class="radio inline" for="reqspecific_[% bibitemloo.biblionumber | html %]">A specific item</label> |
348 |
<label class="radio inline" for="reqspecific_[% bibitemloo.biblionumber | html %]">A specific item</label> |
334 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]" |
349 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]" |
335 |
id="reqspecific_[% bibitemloo.biblionumber | html %]" |
350 |
id="reqspecific_[% bibitemloo.biblionumber | html %]" |
Lines 570-577
Link Here
|
570 |
var select_specific = $("#reqspecific_"+biblioNum).is(":checked"); |
585 |
var select_specific = $("#reqspecific_"+biblioNum).is(":checked"); |
571 |
// If the checkbox is checked AND we want a specific item, we display the items block |
586 |
// If the checkbox is checked AND we want a specific item, we display the items block |
572 |
if ( $(checkbox).is(":checked") && select_specific ) { |
587 |
if ( $(checkbox).is(":checked") && select_specific ) { |
|
|
588 |
if ( $(`#volume_id_${biblioNum}`).length ) { |
589 |
$(`#volume_id_${biblioNum}`).val("").attr('disabled', 'disabled'); |
590 |
} |
573 |
$(newCopiesRowId).show(); |
591 |
$(newCopiesRowId).show(); |
574 |
} else { |
592 |
} else { |
|
|
593 |
if ( $(`#volume_id_${biblioNum}`).length ) { |
594 |
$(`#volume_id_${biblioNum}`).removeAttr('disabled'); |
595 |
} |
575 |
$(newCopiesRowId).hide(); |
596 |
$(newCopiesRowId).hide(); |
576 |
} |
597 |
} |
577 |
}; |
598 |
}; |