Lines 21-53
Link Here
|
21 |
<th> </th> |
21 |
<th> </th> |
22 |
<th> </th> |
22 |
<th> </th> |
23 |
</tr> |
23 |
</tr> |
24 |
|
24 |
[%- SET first_priority = 0 -%] |
25 |
[% SET first_priority = 0 %] |
25 |
[%- SET last_priority = holds.last.priority -%] |
26 |
[% SET last_priority = holds.last.priority %] |
|
|
27 |
|
26 |
|
28 |
[% BLOCK priority_dropdown %] |
27 |
[% BLOCK priority_dropdown %] |
29 |
[% SET loop_priority = 1 %] |
28 |
[%- SET loop_priority = 1 -%] |
30 |
[% WHILE loop_priority <= last_priority %] |
29 |
[%- WHILE loop_priority <= last_priority -%] |
31 |
[% IF this_priority == loop_priority %] |
30 |
[%- IF this_priority == loop_priority -%] |
32 |
<option value="[% loop_priority | html %]" selected="selected">[% loop_priority | html %]</option> |
31 |
<option value="[% loop_priority | html %]" selected="selected">[% loop_priority | html %]</option> |
33 |
[% ELSE %] |
32 |
[%- ELSE -%] |
34 |
<option value="[% loop_priority | html %]">[% loop_priority | html %]</option> |
33 |
<option value="[% loop_priority | html %]">[% loop_priority | html %]</option> |
35 |
[% END %] |
34 |
[%- END -%] |
36 |
[% loop_priority = loop_priority + 1 %] |
35 |
[%- loop_priority = loop_priority + 1- %] |
37 |
[% END %] |
36 |
[%- END -%] |
38 |
[% END %] |
37 |
[% END %] |
39 |
|
38 |
|
40 |
|
|
|
41 |
[% FOREACH hold IN holds %] |
39 |
[% FOREACH hold IN holds %] |
42 |
[% IF !hold.found && first_priority == 0 %] |
40 |
[%- IF !hold.found && first_priority == 0 -%] |
43 |
[% first_priority = hold.priority %] |
41 |
[%- first_priority = hold.priority -%] |
44 |
[% found_holds = loop.index() %] |
42 |
[%- found_holds = loop.index() -%] |
45 |
[% END %] |
43 |
[%- END -%] |
46 |
[% IF Koha.Preference('HoldsSplitQueueNumbering') == 'actual' %] |
44 |
[%- IF Koha.Preference('HoldsSplitQueueNumbering') == 'actual' -%] |
47 |
[% this_priority = hold.priority %] |
45 |
[%- this_priority = hold.priority -%] |
48 |
[% ELSE %] |
46 |
[%- ELSE -%] |
49 |
[% this_priority = loop.count() - found_holds %] |
47 |
[%- this_priority = loop.count() - found_holds -%] |
50 |
[% END %] |
48 |
[%- END -%] |
51 |
<tr> |
49 |
<tr> |
52 |
<td> |
50 |
<td> |
53 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
51 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
Lines 60-66
Link Here
|
60 |
[% ELSE %] |
58 |
[% ELSE %] |
61 |
<option value="[% hold.priority | html %]" selected="selected">[% this_priority | html %]</option> |
59 |
<option value="[% hold.priority | html %]" selected="selected">[% this_priority | html %]</option> |
62 |
[% END %] |
60 |
[% END %] |
63 |
|
|
|
64 |
<option value="del">del</option> |
61 |
<option value="del">del</option> |
65 |
</select> |
62 |
</select> |
66 |
[% ELSE %] |
63 |
[% ELSE %] |
Lines 80-117
Link Here
|
80 |
</select> |
77 |
</select> |
81 |
[% END %] |
78 |
[% END %] |
82 |
</td> |
79 |
</td> |
83 |
|
80 |
[%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%] |
84 |
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] |
81 |
[%- UNLESS hold.found -%] |
85 |
[% UNLESS hold.found %] |
82 |
[%- SET prev_priority = loop.prev.priority -%] |
86 |
[% SET prev_priority = loop.prev.priority %] |
83 |
[%- SET next_priority = loop.next.priority -%] |
87 |
[% SET next_priority = loop.next.priority %] |
|
|
88 |
|
89 |
<td style="white-space:nowrap;"> |
84 |
<td style="white-space:nowrap;"> |
90 |
<a title="Move hold up" href="request.pl?action=move&where=up&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
85 |
<a title="Move hold up" href="request.pl?action=move&where=up&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
91 |
<img src="[% interface | html %]/[% theme | html %]/img/go-up.png" alt="Go up" /> |
86 |
<img src="[% interface | html %]/[% theme | html %]/img/go-up.png" alt="Go up" /> |
92 |
</a> |
87 |
</a> |
93 |
|
|
|
94 |
<a title="Move hold to top" href="request.pl?action=move&where=top&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
88 |
<a title="Move hold to top" href="request.pl?action=move&where=top&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
95 |
<img src="[% interface | html %]/[% theme | html %]/img/go-top.png" alt="Go top" /> |
89 |
<img src="[% interface | html %]/[% theme | html %]/img/go-top.png" alt="Go top" /> |
96 |
</a> |
90 |
</a> |
97 |
|
|
|
98 |
<a title="Move hold to bottom" href="request.pl?action=move&where=bottom&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
91 |
<a title="Move hold to bottom" href="request.pl?action=move&where=bottom&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
99 |
<img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Go bottom" /> |
92 |
<img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Go bottom" /> |
100 |
</a> |
93 |
</a> |
101 |
|
|
|
102 |
<a title="Move hold down" href="request.pl?action=move&where=down&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
94 |
<a title="Move hold down" href="request.pl?action=move&where=down&first_priority=[% first_priority | html %]&last_priority=[% last_priority | html %]&prev_priority=[% prev_priority | html %]&next_priority=[% next_priority | html %]&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
103 |
<img src="[% interface | html %]/[% theme | html %]/img/go-down.png" alt="Go down" /> |
95 |
<img src="[% interface | html %]/[% theme | html %]/img/go-down.png" alt="Go down" /> |
104 |
</a> |
96 |
</a> |
105 |
</td> |
97 |
</td> |
106 |
[% ELSE %] |
98 |
[%- ELSE -%] |
107 |
<td></td> |
99 |
<td></td> |
108 |
[% END %] |
100 |
[%- END -%] |
109 |
[% END %] |
101 |
[%- END -%] |
110 |
|
|
|
111 |
<td> |
102 |
<td> |
112 |
[% INCLUDE 'patron-title.inc' patron=hold.patron hide_patron_infos_if_needed=1 %] |
103 |
[% INCLUDE 'patron-title.inc' patron=hold.patron hide_patron_infos_if_needed=1 %] |
113 |
</td> |
104 |
</td> |
114 |
|
|
|
115 |
<td>[% hold.notes | html | html_line_break %]</td> |
105 |
<td>[% hold.notes | html | html_line_break %]</td> |
116 |
<td> |
106 |
<td> |
117 |
[% IF Koha.Preference('AllowHoldDateInFuture') %] |
107 |
[% IF Koha.Preference('AllowHoldDateInFuture') %] |
Lines 121-230
Link Here
|
121 |
[% END %] |
111 |
[% END %] |
122 |
</td> |
112 |
</td> |
123 |
<td><input type="text" class="datepicker futuredate" value="[% hold.expirationdate | $KohaDates %]" size="10" name="expirationdate" /></td> |
113 |
<td><input type="text" class="datepicker futuredate" value="[% hold.expirationdate | $KohaDates %]" size="10" name="expirationdate" /></td> |
124 |
|
|
|
125 |
<td> |
114 |
<td> |
126 |
[% IF ( hold.found ) %] |
115 |
[%- IF ( hold.found ) -%] |
127 |
[% IF ( hold.atdestination ) %] |
116 |
[%- IF ( hold.atdestination ) -%] |
128 |
Item waiting at <strong> [% hold.wbrname | html %]</strong>[% IF hold.desk_name %], [% hold.desk_name | html %],[% END %] <input type="hidden" name="pickup" value="[% hold.wbrcode | html %]" /> since [% hold.waiting_date | $KohaDates %] |
117 |
Item waiting at <strong> [% hold.wbrname | html %]</strong>[% IF hold.desk_name %], [% hold.desk_name | html %],[% END %] <input type="hidden" name="pickup" value="[% hold.wbrcode | html %]" /> since [% hold.waiting_date | $KohaDates %] |
129 |
[% ELSIF (hold.intransit) %] |
118 |
[%- ELSIF (hold.intransit) -%] |
130 |
Item being transferred to <strong> [% hold.wbrname | html %]</strong> <input type="hidden" name="pickup" value="[% hold.wbrcode | html %]" /> |
119 |
Item being transferred to <strong> [% hold.wbrname | html %]</strong> <input type="hidden" name="pickup" value="[% hold.wbrcode | html %]" /> |
131 |
[% ELSIF (hold.inprocessing) %] |
120 |
[%- ELSIF (hold.inprocessing) -%] |
132 |
Item being processed at <strong> [% hold.wbrname | html %]</strong> <input type="hidden" name="pickup" value="[% hold.wbrcode | html %]" /> |
121 |
Item being processed at <strong> [% hold.wbrname | html %]</strong> <input type="hidden" name="pickup" value="[% hold.wbrcode | html %]" /> |
133 |
[% END %] |
122 |
[%- END -%] |
134 |
[% ELSE %] |
123 |
[%- ELSE -%] |
135 |
[% IF Koha.Preference('IndependentBranches') && Branches.all().size == 1 %] |
124 |
[%- IF Koha.Preference('IndependentBranches') && Branches.all().size == 1 -%] |
136 |
[% Branches.GetName(hold.branchcode) | html %] <input type="hidden" name="pickup" value="[% hold.branchcode | html %]" /> |
125 |
[% Branches.GetName(hold.branchcode) | html %] <input type="hidden" name="pickup" value="[% hold.branchcode | html %]" /> |
137 |
[% ELSE %] |
126 |
[%- ELSE -%] |
138 |
<select class="pickup_location_dropdown" data-selected="[% hold.branchcode | html %]" data-hold_id="[% hold.reserve_id | html %]" name="pickup"> |
127 |
<select class="pickup_location_dropdown" data-selected="[% hold.branchcode | html %]" data-hold_id="[% hold.reserve_id | html %]" name="pickup"> |
139 |
<option selected="selected" value="[% hold.branchcode | html %]">[% Branches.GetName(hold.branchcode) | html %]</option> |
128 |
<option selected="selected" value="[% hold.branchcode | html %]">[% Branches.GetName(hold.branchcode) | html %]</option> |
140 |
<option value="" disabled="disabled" class="loading">Loading...</option> |
129 |
<option value="" disabled="disabled" class="loading">Loading...</option> |
141 |
</select> |
130 |
</select> |
142 |
<img class="loading_[% hold.reserve_id | html %]" src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" style="display:none;"/> |
131 |
<img class="loading_[% hold.reserve_id | html %]" src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" style="display:none;"/> |
143 |
[% END %] |
132 |
[%- END -%] |
144 |
[% END %] |
133 |
[%- END -%] |
145 |
</td> |
134 |
</td> |
146 |
|
|
|
147 |
<td> |
135 |
<td> |
148 |
[% IF ( hold.found ) %] |
136 |
[%- IF ( hold.found ) -%] |
149 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% hold.biblionumber | uri %]&itemnumber=[% hold.itemnumber | uri %]#item[% hold.itemnumber | uri %]"> |
137 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% hold.biblionumber | uri %]&itemnumber=[% hold.itemnumber | uri %]#item[% hold.itemnumber | uri %]"> |
150 |
[% IF ( hold.barcodenumber ) %] |
138 |
[%- IF ( hold.barcodenumber ) -%] |
151 |
[% hold.barcodenumber | html %] |
139 |
[%- hold.barcodenumber | html -%] |
152 |
<input type="hidden" name="itemnumber" value="[% hold.itemnumber | html %]" /> |
140 |
<input type="hidden" name="itemnumber" value="[% hold.itemnumber | html %]" /> |
153 |
[% ELSE %] |
141 |
[%- ELSE -%] |
154 |
No barcode |
142 |
No barcode |
155 |
[% END %] |
143 |
[%- END -%] |
156 |
</a> |
144 |
</a> |
157 |
[% ELSE %] |
145 |
[%- ELSE -%] |
158 |
[% IF ( hold.item_level_hold ) %] |
146 |
[%- IF ( hold.item_level_hold ) -%] |
159 |
<em> |
147 |
<em> |
160 |
Only item |
148 |
Only item |
161 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% hold.biblionumber | uri %]&itemnumber=[% hold.itemnumber | uri %]#item[% hold.itemnumber | uri %]"> |
149 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% hold.biblionumber | uri %]&itemnumber=[% hold.itemnumber | uri %]#item[% hold.itemnumber | uri %]"> |
162 |
[% IF ( hold.barcodenumber ) %] |
150 |
[%- IF ( hold.barcodenumber ) -%] |
163 |
[% hold.barcodenumber | html %] |
151 |
[%- hold.barcodenumber | html -%] |
164 |
<input type="hidden" name="itemnumber" value="[% hold.itemnumber | html %]" /> |
152 |
<input type="hidden" name="itemnumber" value="[% hold.itemnumber | html %]" /> |
165 |
[% ELSE %] |
153 |
[%- ELSE -%] |
166 |
No barcode |
154 |
No barcode |
167 |
[% END %] |
155 |
[%- END -%] |
168 |
</a> |
156 |
</a> |
169 |
</em> |
157 |
</em> |
170 |
[% ELSE %] |
158 |
[%- ELSE -%] |
171 |
[% IF hold.itemtype %] |
159 |
[%- IF hold.itemtype -%] |
172 |
<em>Next available [% ItemTypes.GetDescription( hold.itemtype ) | html %] item</em> |
160 |
<em>Next available [% ItemTypes.GetDescription( hold.itemtype ) | html %] item</em> |
173 |
[% ELSE %] |
161 |
[%- ELSE -%] |
174 |
<em>Next available</em> |
162 |
<em>Next available</em> |
175 |
[% END %] |
163 |
[%- END -%] |
176 |
|
164 |
|
177 |
<input type="hidden" name="itemnumber" value="" /> |
165 |
<input type="hidden" name="itemnumber" value="" /> |
178 |
[% END %] |
166 |
[%- END -%] |
179 |
[% END %] |
167 |
[%- END -%] |
180 |
[% IF hold.non_priority %] |
168 |
[%- IF hold.non_priority -%] |
181 |
<br><i>Non priority hold</i> |
169 |
<br><i>Non priority hold</i> |
182 |
[% END %] |
170 |
[%- END -%] |
183 |
</td> |
171 |
</td> |
184 |
|
172 |
[%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%] |
185 |
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] |
173 |
[%- UNLESS hold.found -%] |
186 |
[% UNLESS hold.found %] |
|
|
187 |
<td> |
174 |
<td> |
188 |
<a title="Toggle lowest priority" href="request.pl?action=setLowestPriority&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
175 |
<a title="Toggle lowest priority" href="request.pl?action=setLowestPriority&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
189 |
[% IF ( hold.lowestPriority ) %] |
176 |
[%- IF ( hold.lowestPriority ) -%] |
190 |
<img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Unset lowest priority" /> |
177 |
<img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Unset lowest priority" /> |
191 |
[% ELSE %] |
178 |
[%- ELSE -%] |
192 |
<img src="[% interface | html %]/[% theme | html %]/img/go-down.png" alt="Set to lowest priority" /> |
179 |
<img src="[% interface | html %]/[% theme | html %]/img/go-down.png" alt="Set to lowest priority" /> |
193 |
[% END %] |
180 |
[%- END -%] |
194 |
</a> |
181 |
</a> |
195 |
</td> |
182 |
</td> |
196 |
[% ELSE %] |
183 |
[%- ELSE -%] |
197 |
<td></td> |
184 |
<td></td> |
198 |
[% END %] |
185 |
[%- END -%] |
199 |
[% END %] |
186 |
[%- END -%] |
200 |
|
|
|
201 |
<td> |
187 |
<td> |
202 |
<a class="cancel-hold" title="Cancel hold" data-borrowernumber="[% hold.borrowernumber | html %]" data-biblionumber="[% hold.biblionumber | html %]" data-id="[% hold.reserve_id | html %]" href="request.pl?action=cancel&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
188 |
<a class="cancel-hold" title="Cancel hold" data-borrowernumber="[% hold.borrowernumber | html %]" data-biblionumber="[% hold.biblionumber | html %]" data-id="[% hold.reserve_id | html %]" href="request.pl?action=cancel&borrowernumber=[% hold.borrowernumber | html %]&biblionumber=[% hold.biblionumber | html %]&reserve_id=[% hold.reserve_id | html %]&date=[% hold.date | html %]"> |
203 |
<img src="[% interface | html %]/[% theme | html %]/img/x.png" alt="Cancel" /> |
189 |
<img src="[% interface | html %]/[% theme | html %]/img/x.png" alt="Cancel" /> |
204 |
</a> |
190 |
</a> |
205 |
</td> |
191 |
</td> |
206 |
|
|
|
207 |
<td> |
192 |
<td> |
208 |
[% IF Koha.Preference('SuspendHoldsIntranet') %] |
193 |
[%- IF Koha.Preference('SuspendHoldsIntranet') -%] |
209 |
[% UNLESS ( hold.found ) %] |
194 |
[%- UNLESS ( hold.found ) -%] |
210 |
<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 |
<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()" /> |
211 |
|
196 |
[%- IF Koha.Preference('AutoResumeSuspendedHolds') -%] |
212 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
|
|
213 |
<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> |
214 |
<input type="text" name="suspend_until_[% hold.reserve_id | html %]" 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_[% hold.reserve_id | html %]" id="suspend_until_[% hold.reserve_id | html %]" size="10" value="[% hold.suspend_until | $KohaDates %]" class="datepicker suspend_until_datepicker" /> |
215 |
<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> |
216 |
[% ELSE %] |
200 |
[%- ELSE -%] |
217 |
<input type="hidden" name="suspend_until_[% hold.reserve_id | html %]" id="suspend_until_[% hold.reserve_id | html %]" value=""/> |
201 |
<input type="hidden" name="suspend_until_[% hold.reserve_id | html %]" id="suspend_until_[% hold.reserve_id | html %]" value=""/> |
218 |
[% END %] |
202 |
[%- END -%] |
219 |
[% END %] |
203 |
[%- END -%] |
220 |
[% END # IF SuspendHoldsIntranet %] |
204 |
[%- END # IF SuspendHoldsIntranet -%] |
221 |
|
205 |
[%- IF ( hold.found ) -%] |
222 |
[% IF ( hold.found ) %] |
|
|
223 |
<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 |
<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 %]'"> |
224 |
[% END %] |
207 |
[%- END -%] |
225 |
</td> |
208 |
</td> |
226 |
|
|
|
227 |
</tr> |
209 |
</tr> |
228 |
|
|
|
229 |
[% END %] |
210 |
[% END %] |
230 |
</table> |
211 |
</table> |
231 |
- |
|
|