|
Lines 48-53
Link Here
|
| 48 |
View all libraries</a></span> |
48 |
View all libraries</a></span> |
| 49 |
[% END %] |
49 |
[% END %] |
| 50 |
</h2> |
50 |
</h2> |
|
|
51 |
[% IF reject_result_error %] |
| 52 |
<div class="error message"> |
| 53 |
[% IF reject_result_error.invalid_status %] |
| 54 |
<p>There was a problem rejecting the cancellation request. Cannot reject an already completed cancellation request.</p> |
| 55 |
[% ELSE %] |
| 56 |
<p>Some error occurred while rejecting the cancellation request. Please check the logs</p> |
| 57 |
[% END %] |
| 58 |
</div> |
| 59 |
[% END %] |
| 51 |
[% IF ( cancel_result ) %] |
60 |
[% IF ( cancel_result ) %] |
| 52 |
[% FOREACH cancel_result %] |
61 |
[% FOREACH cancel_result %] |
| 53 |
[% IF ( messagetransfert ) %] |
62 |
[% IF ( messagetransfert ) %] |
|
Lines 88-93
Link Here
|
| 88 |
Holds waiting over [% Koha.Preference('ReservesMaxPickUpDelay') | html %] days: [% overcount | html %] |
97 |
Holds waiting over [% Koha.Preference('ReservesMaxPickUpDelay') | html %] days: [% overcount | html %] |
| 89 |
</a> |
98 |
</a> |
| 90 |
</li> |
99 |
</li> |
|
|
100 |
<li role="presentation"> |
| 101 |
<a href="#holdscr" aria-controls="holdscr" role="tab" data-toggle="tab"> |
| 102 |
Holds with cancellation requests: [% cancel_reqs_count | html %] |
| 103 |
</a> |
| 104 |
</li> |
| 91 |
</ul> |
105 |
</ul> |
| 92 |
<div class="tab-content"> |
106 |
<div class="tab-content"> |
| 93 |
<div role="tabpanel" class="tab-pane active" id="holdswaiting"> |
107 |
<div role="tabpanel" class="tab-pane active" id="holdswaiting"> |
|
Lines 125-130
Link Here
|
| 125 |
<div class="dialog message">No holds found.</div> |
139 |
<div class="dialog message">No holds found.</div> |
| 126 |
[% END %] |
140 |
[% END %] |
| 127 |
</div> |
141 |
</div> |
|
|
142 |
<div role="tabpanel" class="tab-pane" id="holdscr"> |
| 143 |
[% IF cancel_reqs_count %] |
| 144 |
[% INCLUDE waiting_holds.inc select_column='1' table_name='holdscr' reserveloop=cancel_reqs tab='holdscr' %] |
| 145 |
[% ELSE %] |
| 146 |
<div class="dialog message">No holds found.</div> |
| 147 |
[% END %] |
| 148 |
</div> |
| 128 |
</div> |
149 |
</div> |
| 129 |
[% END %] |
150 |
[% END %] |
| 130 |
|
151 |
|
|
Lines 180-187
Link Here
|
| 180 |
[% INCLUDE 'columns_settings.inc' %] |
201 |
[% INCLUDE 'columns_settings.inc' %] |
| 181 |
<script> |
202 |
<script> |
| 182 |
var MSG_CANCEL_SELECTED = _("Cancel selected (%s)"); |
203 |
var MSG_CANCEL_SELECTED = _("Cancel selected (%s)"); |
| 183 |
var holdst_table_settings = [% TablesSettings.GetTableSettings( 'circ', 'holds_awaiting_pickup', 'holdst', 'json' ) | $raw %]; |
204 |
var holdst_table_settings = [% TablesSettings.GetTableSettings( 'circ', 'holds_awaiting_pickup', 'holdst', 'json' ) | $raw %]; |
| 184 |
var holdso_table_settings = [% TablesSettings.GetTableSettings( 'circ', 'holds_awaiting_pickup', 'holdso', 'json' ) | $raw %]; |
205 |
var holdso_table_settings = [% TablesSettings.GetTableSettings( 'circ', 'holds_awaiting_pickup', 'holdso', 'json' ) | $raw %]; |
|
|
206 |
var holdscr_table_settings = [% TablesSettings.GetTableSettings( 'circ', 'holds_awaiting_pickup', 'holdscr', 'json' ) | $raw %]; |
| 185 |
|
207 |
|
| 186 |
$(document).ready(function() { |
208 |
$(document).ready(function() { |
| 187 |
|
209 |
|
|
Lines 195-200
Link Here
|
| 195 |
"order": [[1, 'asc']] |
217 |
"order": [[1, 'asc']] |
| 196 |
}, holdso_table_settings); |
218 |
}, holdso_table_settings); |
| 197 |
|
219 |
|
|
|
220 |
KohaTable("holdscr", { |
| 221 |
"sPaginationType": "full", |
| 222 |
"order": [[1, 'asc']] |
| 223 |
}, holdscr_table_settings); |
| 224 |
|
| 198 |
let cancel_link; |
225 |
let cancel_link; |
| 199 |
|
226 |
|
| 200 |
$("#cancelModalConfirmBtn").on("click",function(e) { |
227 |
$("#cancelModalConfirmBtn").on("click",function(e) { |
| 201 |
- |
|
|