|
Lines 529-535
Link Here
|
| 529 |
|
529 |
|
| 530 |
[% UNLESS ( multi_hold ) %] |
530 |
[% UNLESS ( multi_hold ) %] |
| 531 |
<li> |
531 |
<li> |
| 532 |
<label for="requestany">Hold next available item </label> |
532 |
<label for="requestany">Hold next available item: </label> |
| 533 |
[% IF force_hold_level == 'item' %] |
533 |
[% IF force_hold_level == 'item' %] |
| 534 |
<input type="checkbox" id="requestany" name="request" disabled="true" /> |
534 |
<input type="checkbox" id="requestany" name="request" disabled="true" /> |
| 535 |
[% ELSIF force_hold_level == 'record' %] |
535 |
[% ELSIF force_hold_level == 'record' %] |
|
Lines 544-550
Link Here
|
| 544 |
|
544 |
|
| 545 |
[% IF remaining_holds_for_record > 1 %] |
545 |
[% IF remaining_holds_for_record > 1 %] |
| 546 |
<li> |
546 |
<li> |
| 547 |
<label for="holds_to_place_count">Holds to place (count)</label> |
547 |
<label for="holds_to_place_count">Holds to place (count): </label> |
| 548 |
<input type="text" inputmode="numeric" pattern="[0-9]*" id="holds_to_place_count" name="holds_to_place_count" maxlength="[% remaining_holds_for_record | html %]" value="1" /> |
548 |
<input type="text" inputmode="numeric" pattern="[0-9]*" id="holds_to_place_count" name="holds_to_place_count" maxlength="[% remaining_holds_for_record | html %]" value="1" /> |
| 549 |
</li> |
549 |
</li> |
| 550 |
[% ELSE %] |
550 |
[% ELSE %] |
|
Lines 557-562
Link Here
|
| 557 |
<input name="non_priority" id="non_priority" type="checkbox" /> |
557 |
<input name="non_priority" id="non_priority" type="checkbox" /> |
| 558 |
<span class="hint">A non priority hold doesn't prevent a current checkout from renewing</span> |
558 |
<span class="hint">A non priority hold doesn't prevent a current checkout from renewing</span> |
| 559 |
</li> |
559 |
</li> |
|
|
560 |
|
| 561 |
<li id="hold_group_list_item"> |
| 562 |
<label for="hold_group">Treat as hold group: </label> |
| 563 |
<input name="hold_group" id="hold_group" type="checkbox" /> |
| 564 |
<span class="hint">Place a hold on the next available title from this group</span> |
| 565 |
</li> |
| 560 |
</ol> |
566 |
</ol> |
| 561 |
|
567 |
|
| 562 |
[% UNLESS ( multi_hold ) %] |
568 |
[% UNLESS ( multi_hold ) %] |
|
Lines 630-638
Link Here
|
| 630 |
Hold must be record level |
636 |
Hold must be record level |
| 631 |
</span> |
637 |
</span> |
| 632 |
[% ELSIF ( itemloo.available ) %] |
638 |
[% ELSIF ( itemloo.available ) %] |
| 633 |
<input type="radio" name="checkitem" value="[% itemloo.itemnumber | html %]" /> |
639 |
<input type="checkbox" name="checkitem" value="[% itemloo.itemnumber | html %]" /> |
| 634 |
[% ELSIF ( itemloo.override ) %] |
640 |
[% ELSIF ( itemloo.override ) %] |
| 635 |
<input type="radio" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" /> |
641 |
<input type="checkbox" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" /> |
| 636 |
<i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i> |
642 |
<i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i> |
| 637 |
[% ELSE %] |
643 |
[% ELSE %] |
| 638 |
<span class="error"> |
644 |
<span class="error"> |
|
Lines 1128-1133
Link Here
|
| 1128 |
</div> |
1134 |
</div> |
| 1129 |
</div> |
1135 |
</div> |
| 1130 |
|
1136 |
|
|
|
1137 |
[% INCLUDE 'hold-group-modal.inc' %] |
| 1138 |
|
| 1131 |
[% MACRO jsinclude BLOCK %] |
1139 |
[% MACRO jsinclude BLOCK %] |
| 1132 |
[% INCLUDE 'datatables.inc' %] |
1140 |
[% INCLUDE 'datatables.inc' %] |
| 1133 |
[% INCLUDE 'calendar.inc' %] |
1141 |
[% INCLUDE 'calendar.inc' %] |
|
Lines 1136-1141
Link Here
|
| 1136 |
[% Asset.js("js/circ-patron-search-results.js") | $raw %] |
1144 |
[% Asset.js("js/circ-patron-search-results.js") | $raw %] |
| 1137 |
[% INCLUDE 'select2.inc' %] |
1145 |
[% INCLUDE 'select2.inc' %] |
| 1138 |
[% Asset.js("js/holds.js") | $raw%] |
1146 |
[% Asset.js("js/holds.js") | $raw%] |
|
|
1147 |
[% Asset.js("js/hold-group.js") | $raw %] |
| 1139 |
<script> |
1148 |
<script> |
| 1140 |
var Sticky; |
1149 |
var Sticky; |
| 1141 |
var biblionumber = "[% biblionumber | $raw %]"; |
1150 |
var biblionumber = "[% biblionumber | $raw %]"; |