|
Lines 232-245
Link Here
|
| 232 |
[% IF ( OPACItemHolds ) %] |
232 |
[% IF ( OPACItemHolds ) %] |
| 233 |
<!-- ITEM HOLDS --> |
233 |
<!-- ITEM HOLDS --> |
| 234 |
<li class="lradio"> |
234 |
<li class="lradio"> |
| 235 |
<label class="radio inline" for="reqany_[% bibitemloo.biblionumber %]">Next available copy</label> |
235 |
<label class="radio inline" for="reqany_[% bibitemloo.biblionumber %]">Next available item</label> |
| 236 |
[% UNLESS ( bibitemloo.holdable ) %] |
236 |
[% UNLESS ( bibitemloo.holdable ) %] |
| 237 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqany_[% bibitemloo.biblionumber %]" class="selectany" value="Any" disabled="disabled" /> |
237 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqany_[% bibitemloo.biblionumber %]" class="selectany" value="Any" disabled="disabled" /> |
| 238 |
[% ELSE %] |
238 |
[% ELSE %] |
| 239 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqany_[% bibitemloo.biblionumber %]" class="selectany" value="Any" checked="checked" /> |
239 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqany_[% bibitemloo.biblionumber %]" class="selectany" value="Any" checked="checked" /> |
| 240 |
[% END %] |
240 |
[% END %] |
| 241 |
|
241 |
|
| 242 |
<label class="radio inline" for="reqspecific_[% bibitemloo.biblionumber %]">A specific copy</label> |
242 |
<label class="radio inline" for="reqspecific_[% bibitemloo.biblionumber %]">A specific item</label> |
| 243 |
[% UNLESS ( bibitemloo.holdable ) %] |
243 |
[% UNLESS ( bibitemloo.holdable ) %] |
| 244 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqspecific_[% bibitemloo.biblionumber %]" class="selectspecific" disabled="disabled" value="Specific" /> |
244 |
<input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqspecific_[% bibitemloo.biblionumber %]" class="selectspecific" disabled="disabled" value="Specific" /> |
| 245 |
[% ELSE %] |
245 |
[% ELSE %] |
|
Lines 251-257
Link Here
|
| 251 |
|
251 |
|
| 252 |
[% IF ( OPACItemHolds ) %] |
252 |
[% IF ( OPACItemHolds ) %] |
| 253 |
<table class="copiesrow table table-bordered table-striped" id="copiesrow_[% bibitemloo.biblionumber %]"> |
253 |
<table class="copiesrow table table-bordered table-striped" id="copiesrow_[% bibitemloo.biblionumber %]"> |
| 254 |
<caption>Select a specific copy:</caption> |
254 |
<caption>Select a specific item:</caption> |
| 255 |
<tr> |
255 |
<tr> |
| 256 |
<th>Copy number</th> |
256 |
<th>Copy number</th> |
| 257 |
[% IF ( item_level_itypes ) %] |
257 |
[% IF ( item_level_itypes ) %] |
|
Lines 370-378
Link Here
|
| 370 |
[% INCLUDE 'calendar.inc' %] |
370 |
[% INCLUDE 'calendar.inc' %] |
| 371 |
<script type="text/javascript"> |
371 |
<script type="text/javascript"> |
| 372 |
// <![CDATA[ |
372 |
// <![CDATA[ |
| 373 |
var MSG_NO_COPY_SELECTED = _("Expecting a specific copy selection."); |
373 |
var MSG_NO_ITEM_SELECTED = _("Expecting a specific item selection."); |
| 374 |
var ForceHoldNotesReasons=new Array( |
374 |
var ForceHoldNotesReasons=new Array( |
| 375 |
_("This title consists of multiple volumes/parts. Please indicate which part you need. Clicking on specific copy information may be helpful."), |
375 |
_("This title consists of multiple volumes/parts. Please indicate which part you need. Clicking on specific item information may be helpful."), |
| 376 |
"*** Add a new reason above this line ***" ); |
376 |
"*** Add a new reason above this line ***" ); |
| 377 |
// NOTE: Do not renumber reasons; this will affect use of existing ones. |
377 |
// NOTE: Do not renumber reasons; this will affect use of existing ones. |
| 378 |
|
378 |
|
|
Lines 452-458
Link Here
|
| 452 |
// Find the selected copy |
452 |
// Find the selected copy |
| 453 |
var item = $(".checkitem_" + biblioNum + ":checked"); |
453 |
var item = $(".checkitem_" + biblioNum + ":checked"); |
| 454 |
if ($(item).size() == 0) { |
454 |
if ($(item).size() == 0) { |
| 455 |
alert(MSG_NO_COPY_SELECTED); |
455 |
alert(MSG_NO_ITEM_SELECTED); |
| 456 |
return false; |
456 |
return false; |
| 457 |
} |
457 |
} |
| 458 |
} |
458 |
} |
|
Lines 531-537
Link Here
|
| 531 |
}); |
531 |
}); |
| 532 |
|
532 |
|
| 533 |
if (badBib) { |
533 |
if (badBib) { |
| 534 |
alert(MSG_NO_COPY_SELECTED); |
534 |
alert(MSG_NO_ITEM_SELECTED); |
| 535 |
return false; |
535 |
return false; |
| 536 |
} |
536 |
} |
| 537 |
|
537 |
|