- [% IF ( OPACItemHolds ) %]
- <!-- ITEM HOLDS -->
- <td class="place_on_type" style="display:none">
- <label for="reqany_[% bibitemloo.biblionumber %]">
- [% UNLESS ( bibitemloo.holdable ) %]
- <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqany_[% bibitemloo.biblionumber %]" class="selectany" value="Any" disabled="disabled" />
- [% ELSE %]
- <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqany_[% bibitemloo.biblionumber %]" class="selectany" value="Any" checked="checked" />
- [% END %]
- Next available copy
- </label>
- <label for="reqspecific_[% bibitemloo.biblionumber %]">
- [% UNLESS ( bibitemloo.holdable ) %]
- <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqspecific_[% bibitemloo.biblionumber %]" class="selectspecific" disabled="disabled" value="Specific" />
- [% ELSE %]
- <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqspecific_[% bibitemloo.biblionumber %]" class="selectspecific" value="Specific" />
- [% END %]
- A specific copy
- </label>
- </td>
- [% END # / IF OPACItemHolds %]
- [% END # / IF bibitemloo.holdable %]
-
- [% UNLESS ( singleBranchMode ) %]
- [% IF ( bibitemloo.holdable && choose_branch ) %]
- <td class="branch">
- [% UNLESS ( bibitemloo.holdable ) %]
- <select name="branch" id="branch_[% bibitemloo.biblionumber %]" disabled="disabled">
- [% FOREACH branchloo IN bibitemloo.branchloop %]
- [% IF ( branchloo.selected ) %]
- <option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option>
- [% ELSE %]
- <option value="[% branchloo.branchcode %]">[% branchloo.branchname %]</option>
- [% END %]
+ [% UNLESS ( singleBranchMode ) %]
+ [% IF ( bibitemloo.holdable && choose_branch ) %]
+ <li class="branch">
+ <label for="branch_[% bibitemloo.biblionumber %]">Pick up location:</label>
+ [% UNLESS ( bibitemloo.holdable ) %]
+ <select name="branch" id="branch_[% bibitemloo.biblionumber %]" disabled="disabled">
+ [% FOREACH branchloo IN bibitemloo.branchloop %]
+ [% IF ( branchloo.selected ) %]
+ <option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option>
+ [% ELSE %]
+ <option value="[% branchloo.branchcode %]">[% branchloo.branchname %]</option>
+ [% END %]
+ [% END %]
+ </select>
+ [% ELSE %]
+ <select name="branch" id="branch_[% bibitemloo.biblionumber %]">
+ [% FOREACH branchloo IN bibitemloo.branchloop %]
+ [% IF ( branchloo.selected ) %]
+ <option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option>
+ [% ELSE %]
+ <option value="[% branchloo.branchcode %]">[% branchloo.branchname %]</option>
+ [% END %]
+ [% END %]
+ </select>
+ [% END # / UNLESS bibitemloo.holdable %]
+ </li>
+ [% END # / IF bibitemloo.holdable && choose_branch %]
+ [% END # / UNLESS singleBranchMode %]
+ </ul>
+
+ <a class="toggle-hold-options" id="toggle-hold-options-[% bibitemloo.biblionumber %]" style="display:none;" href="#">Show more options</a>
+
+ <div id="hold-options-[% bibitemloo.biblionumber %]" class="hold-options">
+
+ <ul>
+ [% IF ( reserve_in_future ) %]
+ <li>
+ <label for="from[% bibitemloo.biblionumber %]">Hold starts on date:</label>
+ <input name="reserve_date_[% bibitemloo.biblionumber %]" id="from[% bibitemloo.biblionumber %]" size="10" class="holddatefrom"/>
+ <span class="date-format from" data-biblionumber="[% bibitemloo.biblionumber %]">[% INCLUDE 'date-format.inc' %]</span>
+ </li>
+ [% END %]
+
+ <li>
+ <label for="to[% bibitemloo.biblionumber %]">Hold not needed after:</label>
+ <input name="expiration_date_[% bibitemloo.biblionumber %]" id="to[% bibitemloo.biblionumber %]" size="10" class="holddateto" />
+ <span class="date-format to" data-biblionumber="[% bibitemloo.biblionumber %]">[% INCLUDE 'date-format.inc' %]</span>
+ </li>
+
+ [% IF ( OpacHoldNotes ) %]
+ <li>
+ <div class="notesrow" id="notesrow_[% bibitemloo.biblionumber %]">
+ <label for="holdnotes[% bibitemloo.biblionumber %]">Hold notes:</label>
+ <span id="forcenotesreason_[% bibitemloo.biblionumber %]" class="forcenotesreason"></span>
+ <textarea id="holdnotes[% bibitemloo.biblionumber %]" rows="2" cols="30" name="notes_[% bibitemloo.biblionumber %]">[% bibitemloo.holdnotes %]</textarea>
+ <input type="hidden" id="notesmandatory_[% bibitemloo.biblionumber %]" value="[% bibitemloo.mandatorynotes %]"/>
+ </div>
+ </li>
+ [% END # / IF OpacHoldNotes %]
+
+ [% IF ( OPACItemHolds ) %]
+ <!-- ITEM HOLDS -->
+ <li class="lradio">
+ <label class="radio inline" for="reqany_[% bibitemloo.biblionumber %]">Next available copy</label>
+ [% UNLESS ( bibitemloo.holdable ) %]
+ <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqany_[% bibitemloo.biblionumber %]" class="selectany" value="Any" disabled="disabled" />
+ [% ELSE %]
+ <input type="radio" name="reqtype_[% bibitemloo.biblionumber %]" id="reqany_[% bibitemloo.biblionumber %]" class="selectany" value="Any" checked="checked" />