|
Lines 1-7
Link Here
|
| 1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
| 2 |
<table> |
2 |
<table id="existing_holdst"> |
|
|
3 |
<thead> |
| 3 |
<tr> |
4 |
<tr> |
| 4 |
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] |
5 |
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] |
|
|
6 |
<th> </th> |
| 5 |
<th>Priority</th> |
7 |
<th>Priority</th> |
| 6 |
<th> </th> |
8 |
<th> </th> |
| 7 |
[% ELSE %] |
9 |
[% ELSE %] |
|
Lines 19-40
Link Here
|
| 19 |
<th> </th> |
21 |
<th> </th> |
| 20 |
[% IF SuspendHoldsIntranet %]<th> </th><!-- Suspend Holds Column Header -->[% END %] |
22 |
[% IF SuspendHoldsIntranet %]<th> </th><!-- Suspend Holds Column Header -->[% END %] |
| 21 |
</tr> |
23 |
</tr> |
| 22 |
|
24 |
</thead> |
|
|
25 |
<tbody> |
| 23 |
[% SET first_priority = 0 %] |
26 |
[% SET first_priority = 0 %] |
| 24 |
[% SET last_priority = holds.last.priority %] |
27 |
[% SET last_priority = holds.last.priority %] |
| 25 |
|
28 |
|
| 26 |
[% FOREACH hold IN holds %] |
29 |
[% FOREACH hold IN holds %] |
| 27 |
[% IF !hold.found && first_priority == 0 %][% first_priority = hold.priority %][% END %] |
30 |
[% IF !hold.found && first_priority == 0 %][% first_priority = hold.priority %][% END %] |
| 28 |
<tr> |
31 |
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] |
|
|
32 |
[% IF ( hold.found ) %] |
| 33 |
<tr class="no-sort"> |
| 34 |
<td> </td> |
| 35 |
[% ELSE %] |
| 36 |
[% IF ( hold.lowestPriority ) %] |
| 37 |
<tr class="no-sort"> |
| 38 |
<td> </td> |
| 39 |
[% ELSE %] |
| 40 |
<tr> |
| 41 |
<td class="handle"> </td> |
| 42 |
[% END %] |
| 43 |
[% END %] |
| 44 |
[% ELSE %] |
| 45 |
<tr class="no-sort"> |
| 46 |
[% END %] |
| 29 |
<td> |
47 |
<td> |
| 30 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
48 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
| 31 |
<input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" /> |
49 |
<input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" /> |
| 32 |
<input type="hidden" name="biblionumber" value="[% hold.biblionumber | html %]" /> |
50 |
<input type="hidden" name="biblionumber" value="[% hold.biblionumber | html %]" /> |
| 33 |
[% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %] |
51 |
[% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %] |
| 34 |
<select name="rank-request"> |
52 |
<select class="rank-request" id="rank-request_[% hold.reserve_id | html %]" name="rank-request"> |
| 35 |
[% ELSE %] |
53 |
[% ELSE %] |
| 36 |
<input type="hidden" name="rank-request" value="[% hold.priority | html %]"> |
54 |
<input type="hidden" name="rank-request" value="[% hold.priority | html %]"> |
| 37 |
<select name="rank-request" disabled="disabled"> |
55 |
<select class="rank-request" name="rank-request" disabled="disabled"> |
| 38 |
[% END %] |
56 |
[% END %] |
| 39 |
[% IF ( hold.found ) %] |
57 |
[% IF ( hold.found ) %] |
| 40 |
[% IF ( hold.intransit ) %] |
58 |
[% IF ( hold.intransit ) %] |
|
Lines 210-213
Link Here
|
| 210 |
</tr> |
228 |
</tr> |
| 211 |
|
229 |
|
| 212 |
[% END %] |
230 |
[% END %] |
|
|
231 |
</tbody> |
| 213 |
</table> |
232 |
</table> |