Lines 66-88
Link Here
|
66 |
<table id="holdst"> |
66 |
<table id="holdst"> |
67 |
<thead> |
67 |
<thead> |
68 |
<tr> |
68 |
<tr> |
69 |
<th>Pull this many items</th> |
69 |
<th>Pull this many items</th> |
70 |
<th>Items available</th> |
70 |
<th>Items available</th> |
71 |
<th>Patrons with holds</th> |
71 |
<th>Patrons with holds</th> |
72 |
<th>First patron</th> |
72 |
<th>First patron</th> |
73 |
<th class="anti-the">Title</th> |
73 |
<th class="anti-the">Title</th> |
74 |
<th class="string-sort">Libraries</th> |
74 |
<th class="string-sort">Libraries</th> |
75 |
<th>Available barcodes</th> |
75 |
<th>Available barcodes</th> |
76 |
<th>Available call numbers</th> |
76 |
<th>Available call numbers</th> |
77 |
<th>Available copy numbers</th> |
77 |
<th>Available copy numbers</th> |
78 |
<th>Available enumeration</th> |
78 |
<th>Available enumeration</th> |
79 |
<th class="string-sort">Available item types</th> |
79 |
<th class="string-sort">Available item types</th> |
80 |
<th class="string-sort">Available locations</th> |
80 |
<th class="string-sort">Available locations</th> |
81 |
<th class="string-sort">Available collections</th> |
81 |
<th class="string-sort">Available collections</th> |
82 |
<th>Earliest hold date</th> |
82 |
<th>Earliest hold date</th> |
83 |
<th>Hold notes</th> |
83 |
<th>Hold notes</th> |
84 |
<th class="string-sort">Pickup location</th> |
84 |
<th class="string-sort">Pickup location</th> |
85 |
<th>Action</th> |
85 |
<th>Action</th> |
|
|
86 |
</tr> |
87 |
<tr class="filters_row"> |
88 |
<th><input type="text" class="filter" data-column_num="0" placeholder="Pull this many items" style="width:95%"/></th> |
89 |
<th><input type="text" class="filter" data-column_num="1" placeholder="Items available" style="width:95%"/></th> |
90 |
<th><input type="text" class="filter" data-column_num="2" placeholder="Patron holds" style="width:95%"/></th> |
91 |
<th><input type="text" class="filter" data-column_num="3" placeholder="Patron name" style="width:95%"/></th> |
92 |
<th><input type="text" class="filter" data-column_num="4" placeholder="Title" style="width:95%"/></th> |
93 |
<th id="homebranchfilter"></th> |
94 |
<th></th> |
95 |
<th><input type="text" class="filter" data-column_num="7" placeholder="Call number" style="width:95%"/></th> |
96 |
<th><input type="text" class="filter" data-column_num="8" placeholder="Available copy" style="width:95%"/></th> |
97 |
<th><input type="text" class="filter" data-column_num="9" placeholder="Available enumeration" style="width:95%"/></th> |
98 |
<th id="itemtype-filter"></th> |
99 |
<th id="locationfilter"></th> |
100 |
<th></th> |
101 |
<th></th> |
102 |
<th></th> |
103 |
<th id="pickup-location"></th> |
104 |
<th></th> |
86 |
</tr> |
105 |
</tr> |
87 |
</thead> |
106 |
</thead> |
88 |
<tbody> |
107 |
<tbody> |
Lines 251-277
Link Here
|
251 |
</tr> |
270 |
</tr> |
252 |
[% END %] |
271 |
[% END %] |
253 |
</tbody> |
272 |
</tbody> |
254 |
<tfoot> |
|
|
255 |
<tr> |
256 |
<td><input type="text" class="filter" data-column_num="0" placeholder="Pull this many items" style="width:95%"/></td> |
257 |
<td><input type="text" class="filter" data-column_num="1" placeholder="Items available" style="width:95%"/></td> |
258 |
<td><input type="text" class="filter" data-column_num="2" placeholder="Patron holds" style="width:95%"/></td> |
259 |
<td><input type="text" class="filter" data-column_num="3" placeholder="Patron name" style="width:95%"/></td> |
260 |
<td><input type="text" class="filter" data-column_num="4" placeholder="Title" style="width:95%"/></td> |
261 |
<td id="homebranchfilter"></td> |
262 |
<td></td> |
263 |
<td><input type="text" class="filter" data-column_num="7" placeholder="Call number" style="width:95%"/></td> |
264 |
<td><input type="text" class="filter" data-column_num="8" placeholder="Available copy" style="width:95%"/></td> |
265 |
<td><input type="text" class="filter" data-column_num="9" placeholder="Available enumeration" style="width:95%"/></td> |
266 |
<td id="itemtype-filter"></td> |
267 |
<td id="locationfilter"></td> |
268 |
<td></td> |
269 |
<td></td> |
270 |
<td></td> |
271 |
<td id="pickup-location"></td> |
272 |
<td></td> |
273 |
</tr> |
274 |
</tfoot> |
275 |
</table> |
273 |
</table> |
276 |
[% ELSE %] |
274 |
[% ELSE %] |
277 |
<strong>No items found.</strong> |
275 |
<strong>No items found.</strong> |
Lines 325-335
Link Here
|
325 |
[% MACRO jsinclude BLOCK %] |
323 |
[% MACRO jsinclude BLOCK %] |
326 |
[% INCLUDE 'calendar.inc' %] |
324 |
[% INCLUDE 'calendar.inc' %] |
327 |
[% INCLUDE 'datatables.inc' %] |
325 |
[% INCLUDE 'datatables.inc' %] |
|
|
326 |
[% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %] |
327 |
[% IF print %] |
328 |
<script> |
329 |
$( document ).ready(function() { |
330 |
window.print(); |
331 |
window.onafterprint = function () { |
332 |
window.close(); |
333 |
} |
334 |
setTimeout('window.close()', 1000); // Hack for Chrome < 63 |
335 |
}); |
336 |
</script> |
337 |
[% END #/print %] |
328 |
[% INCLUDE 'columns_settings.inc' %] |
338 |
[% INCLUDE 'columns_settings.inc' %] |
329 |
<script> |
339 |
<script> |
330 |
$(document).ready(function() { |
340 |
$(document).ready(function() { |
331 |
var table_settings = [% TablesSettings.GetTableSettings('circ', 'holds', 'holds-to-pull', 'json') | $raw %]; |
341 |
var table_settings = [% TablesSettings.GetTableSettings('circ', 'holds', 'holds-to-pull', 'json') | $raw %]; |
332 |
var holdst = KohaTable("holdst", { |
342 |
var holdst = KohaTable("holdst", { |
|
|
343 |
"orderCellsTop": true, |
333 |
"pagingType": "full_numbers" |
344 |
"pagingType": "full_numbers" |
334 |
}, table_settings); |
345 |
}, table_settings); |
335 |
holdst.fnAddFilters("filter"); |
346 |
holdst.fnAddFilters("filter"); |
336 |
- |
|
|