|
Lines 5-10
Link Here
|
| 5 |
[% USE Branches %] |
5 |
[% USE Branches %] |
| 6 |
[% USE KohaDates %] |
6 |
[% USE KohaDates %] |
| 7 |
[% PROCESS 'i18n.inc' %] |
7 |
[% PROCESS 'i18n.inc' %] |
|
|
8 |
[% USE TablesSettings %] |
| 8 |
[% SET footerjs = 1 %] |
9 |
[% SET footerjs = 1 %] |
| 9 |
[% INCLUDE 'doc-head-open.inc' %] |
10 |
[% INCLUDE 'doc-head-open.inc' %] |
| 10 |
<title>[% FILTER collapse %] |
11 |
<title>[% FILTER collapse %] |
|
Lines 104-110
Link Here
|
| 104 |
<th>Claims count</th> |
105 |
<th>Claims count</th> |
| 105 |
<th>Claim date</th> |
106 |
<th>Claim date</th> |
| 106 |
[% FOR field IN additional_fields_for_subscription %] |
107 |
[% FOR field IN additional_fields_for_subscription %] |
| 107 |
<th>[% field.name | html %]</th> |
108 |
<th>[% field.name | html %]</th> |
|
|
109 |
[% END %] |
| 110 |
</tr> |
| 111 |
<tr> |
| 112 |
<td></td> |
| 113 |
<td><input type="text" class="filter" data-column_num="1" placeholder="Search vendor" /></td> |
| 114 |
<td><input type="text" class="filter" data-column_num="2" placeholder="Search library" /></td> |
| 115 |
<td><input type="text" class="filter" data-column_num="3" placeholder="Search title" /></td> |
| 116 |
<td><input type="text" class="filter" data-column_num="4" placeholder="Search ISSN" /></td> |
| 117 |
<td><input type="text" class="filter" data-column_num="5" placeholder="Search issue number" /></td> |
| 118 |
<td><input type="text" class="filter" data-column_num="6" placeholder="Search status" /></td> |
| 119 |
<td><input type="text" class="filter" data-column_num="7" placeholder="Search since" /></td> |
| 120 |
<td><input type="text" class="filter" data-column_num="8" placeholder="Search publication date" /></td> |
| 121 |
<td><input type="text" class="filter" data-column_num="9" placeholder="Search claim count" /></td> |
| 122 |
<td><input type="text" class="filter" data-column_num="10" placeholder="Search claim date" /></td> |
| 123 |
[% FOR field IN additional_fields_for_subscription %] |
| 124 |
<td><input type="text" class="filter" data-column_num="[% loop.count + 10 | html %]" placeholder="Search [% field.name | html %]" /></td> |
| 108 |
[% END %] |
125 |
[% END %] |
| 109 |
</tr> |
126 |
</tr> |
| 110 |
</thead> |
127 |
</thead> |
|
Lines 112-120
Link Here
|
| 112 |
[% FOREACH missingissue IN missingissues %] |
129 |
[% FOREACH missingissue IN missingissues %] |
| 113 |
<tr> |
130 |
<tr> |
| 114 |
<td> |
131 |
<td> |
| 115 |
[% UNLESS missingissue.cannot_claim %] |
132 |
[% UNLESS missingissue.cannot_claim %] |
| 116 |
<input type="checkbox" class="select_serial" name="serialid" value="[% missingissue.serialid | html %]" /> |
133 |
<input type="checkbox" class="select_serial" name="serialid" value="[% missingissue.serialid | html %]" /> |
| 117 |
[% END %] |
134 |
[% END %] |
| 118 |
</td> |
135 |
</td> |
| 119 |
<td>[% missingissue.name | html %]</td> |
136 |
<td>[% missingissue.name | html %]</td> |
| 120 |
<td> |
137 |
<td> |
|
Lines 142-165
Link Here
|
| 142 |
</tr> |
159 |
</tr> |
| 143 |
[% END # /FOREACH missingissue %] |
160 |
[% END # /FOREACH missingissue %] |
| 144 |
</tbody> |
161 |
</tbody> |
| 145 |
<tfoot> |
|
|
| 146 |
<tr> |
| 147 |
<td></td> |
| 148 |
<td><input type="text" class="filter" data-column_num="1" placeholder="Search vendor" /></td> |
| 149 |
<td><input type="text" class="filter" data-column_num="2" placeholder="Search library" /></td> |
| 150 |
<td><input type="text" class="filter" data-column_num="3" placeholder="Search title" /></td> |
| 151 |
<td><input type="text" class="filter" data-column_num="4" placeholder="Search ISSN" /></td> |
| 152 |
<td><input type="text" class="filter" data-column_num="5" placeholder="Search issue number" /></td> |
| 153 |
<td><input type="text" class="filter" data-column_num="6" placeholder="Search status" /></td> |
| 154 |
<td><input type="text" class="filter" data-column_num="7" placeholder="Search since" /></td> |
| 155 |
<td><input type="text" class="filter" data-column_num="8" placeholder="Search publication date" /></td> |
| 156 |
<td><input type="text" class="filter" data-column_num="9" placeholder="Search claim count" /></td> |
| 157 |
<td><input type="text" class="filter" data-column_num="10" placeholder="Search claim date" /></td> |
| 158 |
[% FOR field IN additional_fields_for_subscription %] |
| 159 |
<td><input type="text" class="filter" data-column_num="[% loop.count + 10 | html %]" placeholder="Search [% field.name | html %]" /></td> |
| 160 |
[% END %] |
| 161 |
</tr> |
| 162 |
</tfoot> |
| 163 |
</table> <!-- /#claimst --> |
162 |
</table> <!-- /#claimst --> |
| 164 |
</div> <!-- /.page-section --> |
163 |
</div> <!-- /.page-section --> |
| 165 |
|
164 |
|
|
Lines 244-262
Link Here
|
| 244 |
[% MACRO jsinclude BLOCK %] |
243 |
[% MACRO jsinclude BLOCK %] |
| 245 |
[% INCLUDE 'calendar.inc' %] |
244 |
[% INCLUDE 'calendar.inc' %] |
| 246 |
[% INCLUDE 'datatables.inc' %] |
245 |
[% INCLUDE 'datatables.inc' %] |
|
|
246 |
[% INCLUDE 'columns_settings.inc' %] |
| 247 |
<script> |
247 |
<script> |
| 248 |
var sTable; |
|
|
| 249 |
$(document).ready(function() { |
248 |
$(document).ready(function() { |
| 250 |
enableSelectedActions(); |
249 |
enableSelectedActions(); |
| 251 |
sTable = $("#claimst").dataTable($.extend(true, {}, dataTablesDefaults, { |
250 |
|
| 252 |
"dom": 't', |
251 |
var table_settings = [% TablesSettings.GetTableSettings( 'serials', 'claims', 'claimst', 'json' ) | $raw %]; |
|
|
252 |
var sTable = KohaTable("claimst", { |
| 253 |
"autoWidth": false, |
| 254 |
"dom": '<"dt-info"><"top pager"<"table_entries"lip><"table_controls"B>>tr<"bottom pager"ip>', |
| 253 |
"order": [[ 7, "asc" ]], |
255 |
"order": [[ 7, "asc" ]], |
| 254 |
"columnDefs": [ |
256 |
"columnDefs": [ |
| 255 |
{ 'sortable': false, 'targets': [ 'NoSort' ] }, |
257 |
{ 'sortable': false, 'targets': [ 'NoSort' ] }, |
| 256 |
{ "type": "anti-the", "targets": [ 'anti-the'] } |
258 |
{ "type": "anti-the", "targets": [ 'anti-the'] } |
| 257 |
], |
259 |
], |
| 258 |
"paginate": false |
260 |
"paginate": false, |
| 259 |
})); |
261 |
"orderCellsTop": true |
|
|
262 |
}, table_settings); |
| 260 |
|
263 |
|
| 261 |
// Checkboxes : Select All / None |
264 |
// Checkboxes : Select All / None |
| 262 |
$("span.checkall").html("<input type=\"checkbox\" name=\"CheckAll\"> "+_("Check all")+"</input>"); |
265 |
$("span.checkall").html("<input type=\"checkbox\" name=\"CheckAll\"> "+_("Check all")+"</input>"); |
| 263 |
- |
|
|