Lines 80-94
Link Here
|
80 |
</div> |
80 |
</div> |
81 |
[% END %] |
81 |
[% END %] |
82 |
<div id="resultlist" class="toptabs"> |
82 |
<div id="resultlist" class="toptabs"> |
83 |
<ul> |
83 |
<ul class="nav nav-tabs" role="tablist"> |
84 |
<li><a href="#holdswaiting">Holds waiting: [% reservecount | html %]</a></li> |
84 |
<li role="presentation" class="active"><a href="#holdswaiting" aria-controls="holdswaiting" role="tab" data-toggle="tab">Holds waiting: [% reservecount | html %]</a></li> |
85 |
<li> |
85 |
<li role="presentation"> |
86 |
<a href="#holdsover"> |
86 |
<a href="#holdsover" aria-controls="holdsover" role="tab" data-toggle="tab"> |
87 |
Holds waiting over [% Koha.Preference('ReservesMaxPickUpDelay') | html %] days: [% overcount | html %] |
87 |
Holds waiting over [% Koha.Preference('ReservesMaxPickUpDelay') | html %] days: [% overcount | html %] |
88 |
</a> |
88 |
</a> |
89 |
</li> |
89 |
</li> |
90 |
</ul> |
90 |
</ul> |
91 |
<div id="holdswaiting"> |
91 |
<div class="tab-content"> |
|
|
92 |
<div role="tabpanel" class="tab-pane active" id="holdswaiting"> |
92 |
[% IF ( reserveloop ) %] |
93 |
[% IF ( reserveloop ) %] |
93 |
<div id="toolbar" class="btn-toolbar"> |
94 |
<div id="toolbar" class="btn-toolbar"> |
94 |
<button class="cancel_selected_holds" data-bulk="true"></button> |
95 |
<button class="cancel_selected_holds" data-bulk="true"></button> |
Lines 98-104
Link Here
|
98 |
<div class="dialog message">No holds found.</div> |
99 |
<div class="dialog message">No holds found.</div> |
99 |
[% END %] |
100 |
[% END %] |
100 |
</div> |
101 |
</div> |
101 |
<div id="holdsover"> |
102 |
<div role="tabpanel" class="tab-pane" id="holdsover"> |
102 |
[% IF ( ReservesMaxPickUpDelay ) %]<p>Holds listed here have been awaiting pickup for more than [% ReservesMaxPickUpDelay | html %] days.</p>[% END %] |
103 |
[% IF ( ReservesMaxPickUpDelay ) %]<p>Holds listed here have been awaiting pickup for more than [% ReservesMaxPickUpDelay | html %] days.</p>[% END %] |
103 |
[% IF ( overloop ) %] |
104 |
[% IF ( overloop ) %] |
104 |
<span id="holdsover-cancel-all"> |
105 |
<span id="holdsover-cancel-all"> |
Lines 193-200
Link Here
|
193 |
"order": [[1, 'asc']] |
194 |
"order": [[1, 'asc']] |
194 |
}, holdso_columns_settings); |
195 |
}, holdso_columns_settings); |
195 |
|
196 |
|
196 |
$('#resultlist').tabs(); |
|
|
197 |
|
198 |
let cancel_link; |
197 |
let cancel_link; |
199 |
|
198 |
|
200 |
$("#cancelModalConfirmBtn").on("click",function(e) { |
199 |
$("#cancelModalConfirmBtn").on("click",function(e) { |
Lines 227-233
Link Here
|
227 |
|
226 |
|
228 |
$('.holds_table').each(function() { |
227 |
$('.holds_table').each(function() { |
229 |
var table = $(this); |
228 |
var table = $(this); |
230 |
var parent = table.parents('.ui-tabs-panel'); |
229 |
var parent = table.parents('.tab-pane'); |
231 |
|
230 |
|
232 |
$('.holds_table .select_hold_all', parent).each(function() { |
231 |
$('.holds_table .select_hold_all', parent).each(function() { |
233 |
var count = $('.select_hold:not(:checked)', table).length; |
232 |
var count = $('.select_hold:not(:checked)', table).length; |
234 |
- |
|
|