Lines 300-305
Link Here
|
300 |
</li> |
300 |
</li> |
301 |
[% END %] |
301 |
[% END %] |
302 |
|
302 |
|
|
|
303 |
[% UNLESS forced_hold_level && ( forced_hold_level == 'item' || forced_hold_level == 'record' ) %] |
304 |
[% IF bibitemloo.object.volumes %] |
305 |
<li> |
306 |
<label for="itemtype">Request specific volume:</label> |
307 |
<select name="volume_id_[% bibitemloo.biblionumber | html %]" id="volume_id_[% bibitemloo.biblionumber | html %]" size="1"> |
308 |
<option value="">Any volume</option> |
309 |
[% FOREACH v IN bibitemloo.object.volumes %] |
310 |
<option value="[% v.id | html %]">[% v.description | html %]</option> |
311 |
[% END %] |
312 |
</select> |
313 |
</li> |
314 |
[% END %] |
315 |
[% END %] |
316 |
|
303 |
[% IF ( OpacHoldNotes ) %] |
317 |
[% IF ( OpacHoldNotes ) %] |
304 |
<li> |
318 |
<li> |
305 |
<div class="notesrow" id="notesrow_[% bibitemloo.biblionumber | html %]"> |
319 |
<div class="notesrow" id="notesrow_[% bibitemloo.biblionumber | html %]"> |
Lines 315-321
Link Here
|
315 |
[% IF bibitemloo.itemholdable %] |
329 |
[% IF bibitemloo.itemholdable %] |
316 |
<!-- ITEM HOLDS --> |
330 |
<!-- ITEM HOLDS --> |
317 |
<li class="lradio place_on_type" style="display:none;"> |
331 |
<li class="lradio place_on_type" style="display:none;"> |
318 |
[% IF NOT bibitemloo.force_hold %] |
332 |
[% UNLESS bibitemloo.forced_hold_level == 'item' || bibitemloo.forced_hold_level == 'volume' %] |
319 |
<label class="radio inline" for="reqany_[% bibitemloo.biblionumber | html %]">Next available item</label> |
333 |
<label class="radio inline" for="reqany_[% bibitemloo.biblionumber | html %]">Next available item</label> |
320 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]" |
334 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]" |
321 |
id="reqany_[% bibitemloo.biblionumber | html %]" |
335 |
id="reqany_[% bibitemloo.biblionumber | html %]" |
Lines 324-329
Link Here
|
324 |
checked="checked" |
338 |
checked="checked" |
325 |
/> |
339 |
/> |
326 |
[% END %] |
340 |
[% END %] |
|
|
341 |
|
327 |
<label class="radio inline" for="reqspecific_[% bibitemloo.biblionumber | html %]">A specific item</label> |
342 |
<label class="radio inline" for="reqspecific_[% bibitemloo.biblionumber | html %]">A specific item</label> |
328 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]" |
343 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber | html %]" |
329 |
id="reqspecific_[% bibitemloo.biblionumber | html %]" |
344 |
id="reqspecific_[% bibitemloo.biblionumber | html %]" |
Lines 564-571
Link Here
|
564 |
var select_specific = $("#reqspecific_"+biblioNum).is(":checked"); |
579 |
var select_specific = $("#reqspecific_"+biblioNum).is(":checked"); |
565 |
// If the checkbox is checked AND we want a specific item, we display the items block |
580 |
// If the checkbox is checked AND we want a specific item, we display the items block |
566 |
if ( $(checkbox).is(":checked") && select_specific ) { |
581 |
if ( $(checkbox).is(":checked") && select_specific ) { |
|
|
582 |
if ( $(`#volume_id_${biblioNum}`).length ) { |
583 |
$(`#volume_id_${biblioNum}`).val("").attr('disabled', 'disabled'); |
584 |
} |
567 |
$(newCopiesRowId).show(); |
585 |
$(newCopiesRowId).show(); |
568 |
} else { |
586 |
} else { |
|
|
587 |
if ( $(`#volume_id_${biblioNum}`).length ) { |
588 |
$(`#volume_id_${biblioNum}`).removeAttr('disabled'); |
589 |
} |
569 |
$(newCopiesRowId).hide(); |
590 |
$(newCopiesRowId).hide(); |
570 |
} |
591 |
} |
571 |
}; |
592 |
}; |