Lines 32-38
Link Here
|
32 |
</tr> |
32 |
</tr> |
33 |
</thead> |
33 |
</thead> |
34 |
<tbody> |
34 |
<tbody> |
|
|
35 |
[% SET all_holds_waiting = 1 %] |
35 |
[% FOREACH HOLD IN HOLDS %] |
36 |
[% FOREACH HOLD IN HOLDS %] |
|
|
37 |
[% UNLESS ( HOLD.is_waiting || HOLD.is_in_transit ) %] |
38 |
[% SET all_holds_waiting = 0 %] |
39 |
[% END %] |
36 |
[% IF ( HOLD.is_waiting ) %] |
40 |
[% IF ( HOLD.is_waiting ) %] |
37 |
[% IF ( HOLD.is_at_destination ) %] |
41 |
[% IF ( HOLD.is_at_destination ) %] |
38 |
[% IF ( HOLD.is_found ) %] |
42 |
[% IF ( HOLD.is_found ) %] |
Lines 127-133
Link Here
|
127 |
Item in transit from <b> [% Branches.GetName( transfer.frombranch ) | html %]</b> since |
131 |
Item in transit from <b> [% Branches.GetName( transfer.frombranch ) | html %]</b> since |
128 |
[% transfer.datesent | $KohaDates %] |
132 |
[% transfer.datesent | $KohaDates %] |
129 |
[% ELSIF ( HOLD.suspend ) %] |
133 |
[% ELSIF ( HOLD.suspend ) %] |
130 |
Suspended [% IF ( HOLD.suspend_until ) %] until [% HOLD.suspend_until | html %] [% END %] |
134 |
Suspended [% IF ( HOLD.suspend_until ) %] until [% HOLD.suspend_until | $KohaDates %] [% END %] |
131 |
[% ELSE %] |
135 |
[% ELSE %] |
132 |
[% IF HOLD.itemtype %] |
136 |
[% IF HOLD.itemtype %] |
133 |
Pending for next available item of item type '[% ItemTypes.GetDescription( HOLD.itemtype ) | html %]' |
137 |
Pending for next available item of item type '[% ItemTypes.GetDescription( HOLD.itemtype ) | html %]' |
Lines 199-223
Link Here
|
199 |
</table> |
203 |
</table> |
200 |
|
204 |
|
201 |
[% IF SuspendHoldsOpac and ! onlyinfo %] |
205 |
[% IF SuspendHoldsOpac and ! onlyinfo %] |
202 |
<div> |
206 |
[% UNLESS ( all_holds_waiting ) %] |
203 |
<form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
207 |
<div> |
204 |
<button type="submit" name="submit" class="btn" onclick="return confirmDelete(MSG_CONFIRM_SUSPEND_HOLDS);"><i class="fa fa-pause"></i> Suspend all holds</button> |
208 |
<form class="form-inline" id="suspend_all_holds" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
205 |
<input type="hidden" name="suspend" value="1" /> |
209 |
<button type="submit" id="suspend_all_submit" class="btn"><i class="fa fa-pause"></i> Suspend all holds</button> |
|
|
210 |
<input type="hidden" name="suspend" value="1" /> |
206 |
|
211 |
|
207 |
[% IF AutoResumeSuspendedHolds %] |
212 |
[% IF AutoResumeSuspendedHolds %] |
208 |
<label for="suspend_until"> until </label> |
213 |
<label for="suspend_until"> until </label> |
209 |
<input type="text" name="suspend_until" id="suspend_until" class="suspend-until" readonly="readonly" size="10" /> |
214 |
<input type="text" name="suspend_until" id="suspend_until" class="suspend-until" readonly="readonly" size="10" /> |
210 |
<a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('suspend_until').value='';return false;">Clear date to suspend indefinitely</a> |
215 |
<a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('suspend_until').value='';return false;">Clear date to suspend indefinitely</a> |
211 |
[% END %] |
216 |
[% END %] |
212 |
</form> |
217 |
</form> |
213 |
</div> |
218 |
</div> |
214 |
<br/> |
219 |
<br/> |
215 |
<div> |
220 |
<div> |
216 |
<form action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
221 |
<form id="resume_all_holds" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
217 |
<button type="submit" name="submit" class="btn" onclick="return confirmDelete(MSG_CONFIRM_RESUME_HOLDS);"><i class="fa fa-play"></i> Resume all suspended holds</button> |
222 |
<button type="submit" id="resume_all_submit" class="btn"><i class="fa fa-play"></i> Resume all suspended holds</button> |
218 |
<input type="hidden" name="suspend" value="0" /> |
223 |
<input type="hidden" name="suspend" value="0" /> |
219 |
</form> |
224 |
</form> |
220 |
</div> |
225 |
</div> |
|
|
226 |
[% END %] |
221 |
[% END %] |
227 |
[% END %] |
222 |
</div> <!-- / #opac-user-holds --> |
228 |
</div> <!-- / #opac-user-holds --> |
223 |
[% END # / #HOLDS.count %] |
229 |
[% END # / #HOLDS.count %] |
224 |
- |
|
|