Lines 17-23
Link Here
|
17 |
<th><img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Toggle set to lowest priority" /></th> |
17 |
<th><img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Toggle set to lowest priority" /></th> |
18 |
[% END %] |
18 |
[% END %] |
19 |
<th> </th> |
19 |
<th> </th> |
20 |
[% IF SuspendHoldsIntranet %]<th> </th><!-- Suspend Holds Column Header -->[% END %] |
20 |
<th> </th> |
21 |
</tr> |
21 |
</tr> |
22 |
|
22 |
|
23 |
[% SET first_priority = 0 %] |
23 |
[% SET first_priority = 0 %] |
Lines 188-211
Link Here
|
188 |
</a> |
188 |
</a> |
189 |
</td> |
189 |
</td> |
190 |
|
190 |
|
191 |
[% IF SuspendHoldsIntranet %] |
191 |
<td> |
192 |
<td> |
192 |
[% IF Koha.Preference('SuspendHoldsIntranet') %] |
193 |
[% UNLESS ( hold.found ) %] |
193 |
[% UNLESS ( hold.found ) %] |
194 |
<input type="button" value="[% IF ( hold.suspend ) %]Unsuspend[% ELSE %]Suspend[% END %]" onclick="window.location.href='request.pl?action=toggleSuspend&reserve_id=[% hold.reserve_id | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&date=[% hold.date | html %]&suspend_until=' + $('#suspend_until_[% hold.reserve_id | html %]').val()" /> |
194 |
<input type="button" value="[% IF ( hold.suspend ) %]Unsuspend[% ELSE %]Suspend[% END %]" onclick="window.location.href='request.pl?action=toggleSuspend&reserve_id=[% hold.reserve_id | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&date=[% hold.date | html %]&suspend_until=' + $('#suspend_until_[% hold.reserve_id | html %]').val()" /> |
195 |
|
195 |
|
196 |
[% IF AutoResumeSuspendedHolds %] |
196 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
197 |
<label for="suspend_until_[% hold.reserve_id | html %]">[% IF ( hold.suspend ) %] on [% ELSE %] until [% END %]</label> |
197 |
<label for="suspend_until_[% hold.reserve_id | html %]">[% IF ( hold.suspend ) %] on [% ELSE %] until [% END %]</label> |
198 |
<input type="text" name="suspend_until" id="suspend_until_[% hold.reserve_id | html %]" size="10" value="[% hold.suspend_until | $KohaDates %]" class="datepicker suspend_until_datepicker" /> |
198 |
<input type="text" name="suspend_until" id="suspend_until_[% hold.reserve_id | html %]" size="10" value="[% hold.suspend_until | $KohaDates %]" class="datepicker suspend_until_datepicker" /> |
199 |
<a href='#' onclick="document.getElementById('suspend_until_[% hold.reserve_id | html %]').value='';">Clear date</a> |
199 |
<a href='#' onclick="document.getElementById('suspend_until_[% hold.reserve_id | html %]').value='';">Clear date</a> |
200 |
[% ELSE %] |
200 |
[% ELSE %] |
201 |
<input type="hidden" name="suspend_until" id="suspend_until_[% hold.reserve_id | html %]" value=""/> |
201 |
<input type="hidden" name="suspend_until" id="suspend_until_[% hold.reserve_id | html %]" value=""/> |
202 |
[% END %] |
202 |
[% END %] |
203 |
|
|
|
204 |
[% ELSE %] |
205 |
<input type="button" id="revert_hold_[% hold.reserve_id | html %]" value="[% IF hold.intransit %]Revert transit status[% ELSE %]Revert waiting status[% END %]" onclick="window.location.href='request.pl?action=move&where=down&first_priority=[% first_priority | uri %]&last_priority=[% last_priority | uri %]&prev_priority=0&next_priority=1&borrowernumber=[% hold.borrowernumber | uri %]&biblionumber=[% hold.biblionumber | uri %]&itemnumber=[% hold.itemnumber | uri %]&reserve_id=[% hold.reserve_id | uri %]&date=[% hold.date | uri %]'"> |
206 |
[% END %] |
203 |
[% END %] |
207 |
</td> |
204 |
[% END # IF SuspendHoldsIntranet %] |
208 |
[% END # IF SuspendHoldsIntranet %] |
205 |
|
|
|
206 |
[% IF ( hold.found ) %] |
207 |
<input type="button" id="revert_hold_[% hold.reserve_id | html %]" value="[% IF hold.intransit %]Revert transit status[% ELSE %]Revert waiting status[% END %]" onclick="window.location.href='request.pl?action=move&where=down&first_priority=[% first_priority | uri %]&last_priority=[% last_priority | uri %]&prev_priority=0&next_priority=1&borrowernumber=[% hold.borrowernumber | uri %]&biblionumber=[% hold.biblionumber | uri %]&itemnumber=[% hold.itemnumber | uri %]&reserve_id=[% hold.reserve_id | uri %]&date=[% hold.date | uri %]'"> |
208 |
[% END %] |
209 |
</td> |
209 |
|
210 |
|
210 |
</tr> |
211 |
</tr> |
211 |
|
212 |
|
212 |
- |
|
|