|
Lines 3-8
Link Here
|
| 3 |
[% USE AuthorisedValues %] |
3 |
[% USE AuthorisedValues %] |
| 4 |
[% USE Branches %] |
4 |
[% USE Branches %] |
| 5 |
[% USE KohaDates %] |
5 |
[% USE KohaDates %] |
|
|
6 |
[% USE TablesSettings %] |
| 6 |
[% SET footerjs = 1 %] |
7 |
[% SET footerjs = 1 %] |
| 7 |
[% INCLUDE 'doc-head-open.inc' %] |
8 |
[% INCLUDE 'doc-head-open.inc' %] |
| 8 |
<title>[% IF ( supplierid ) -%] Claims for [% suppliername | html %] › [% END %] Claims › Serials › Koha</title> |
9 |
<title>[% IF ( supplierid ) -%] Claims for [% suppliername | html %] › [% END %] Claims › Serials › Koha</title> |
|
Lines 99-105
Link Here
|
| 99 |
<th>Claims count</th> |
100 |
<th>Claims count</th> |
| 100 |
<th>Claim date</th> |
101 |
<th>Claim date</th> |
| 101 |
[% FOR field IN additional_fields_for_subscription %] |
102 |
[% FOR field IN additional_fields_for_subscription %] |
| 102 |
<th>[% field.name | html %]</th> |
103 |
<th>[% field.name | html %]</th> |
|
|
104 |
[% END %] |
| 105 |
</tr> |
| 106 |
<tr> |
| 107 |
<td></td> |
| 108 |
<td><input type="text" class="filter" data-column_num="1" placeholder="Search vendor" /></td> |
| 109 |
<td><input type="text" class="filter" data-column_num="2" placeholder="Search library" /></td> |
| 110 |
<td><input type="text" class="filter" data-column_num="3" placeholder="Search title" /></td> |
| 111 |
<td><input type="text" class="filter" data-column_num="4" placeholder="Search ISSN" /></td> |
| 112 |
<td><input type="text" class="filter" data-column_num="5" placeholder="Search issue number" /></td> |
| 113 |
<td><input type="text" class="filter" data-column_num="6" placeholder="Search status" /></td> |
| 114 |
<td><input type="text" class="filter" data-column_num="7" placeholder="Search since" /></td> |
| 115 |
<td><input type="text" class="filter" data-column_num="8" placeholder="Search publication date" /></td> |
| 116 |
<td><input type="text" class="filter" data-column_num="9" placeholder="Search claim count" /></td> |
| 117 |
<td><input type="text" class="filter" data-column_num="10" placeholder="Search claim date" /></td> |
| 118 |
[% FOR field IN additional_fields_for_subscription %] |
| 119 |
<td><input type="text" class="filter" data-column_num="[% loop.count + 10 | html %]" placeholder="Search [% field.name | html %]" /></td> |
| 103 |
[% END %] |
120 |
[% END %] |
| 104 |
</tr> |
121 |
</tr> |
| 105 |
</thead> |
122 |
</thead> |
|
Lines 107-115
Link Here
|
| 107 |
[% FOREACH missingissue IN missingissues %] |
124 |
[% FOREACH missingissue IN missingissues %] |
| 108 |
<tr> |
125 |
<tr> |
| 109 |
<td> |
126 |
<td> |
| 110 |
[% UNLESS missingissue.cannot_claim %] |
127 |
[% UNLESS missingissue.cannot_claim %] |
| 111 |
<input type="checkbox" class="select_serial" name="serialid" value="[% missingissue.serialid | html %]" /> |
128 |
<input type="checkbox" class="select_serial" name="serialid" value="[% missingissue.serialid | html %]" /> |
| 112 |
[% END %] |
129 |
[% END %] |
| 113 |
</td> |
130 |
</td> |
| 114 |
<td>[% missingissue.name | html %]</td> |
131 |
<td>[% missingissue.name | html %]</td> |
| 115 |
<td> |
132 |
<td> |
|
Lines 143-166
Link Here
|
| 143 |
</tr> |
160 |
</tr> |
| 144 |
[% END # /FOREACH missingissue %] |
161 |
[% END # /FOREACH missingissue %] |
| 145 |
</tbody> |
162 |
</tbody> |
| 146 |
<tfoot> |
|
|
| 147 |
<tr> |
| 148 |
<td></td> |
| 149 |
<td><input type="text" class="filter" data-column_num="1" placeholder="Search vendor" /></td> |
| 150 |
<td><input type="text" class="filter" data-column_num="2" placeholder="Search library" /></td> |
| 151 |
<td><input type="text" class="filter" data-column_num="3" placeholder="Search title" /></td> |
| 152 |
<td><input type="text" class="filter" data-column_num="4" placeholder="Search ISSN" /></td> |
| 153 |
<td><input type="text" class="filter" data-column_num="5" placeholder="Search issue number" /></td> |
| 154 |
<td><input type="text" class="filter" data-column_num="6" placeholder="Search status" /></td> |
| 155 |
<td><input type="text" class="filter" data-column_num="7" placeholder="Search since" /></td> |
| 156 |
<td><input type="text" class="filter" data-column_num="8" placeholder="Search publication date" /></td> |
| 157 |
<td><input type="text" class="filter" data-column_num="9" placeholder="Search claim count" /></td> |
| 158 |
<td><input type="text" class="filter" data-column_num="10" placeholder="Search claim date" /></td> |
| 159 |
[% FOR field IN additional_fields_for_subscription %] |
| 160 |
<td><input type="text" class="filter" data-column_num="[% loop.count + 10 | html %]" placeholder="Search [% field.name | html %]" /></td> |
| 161 |
[% END %] |
| 162 |
</tr> |
| 163 |
</tfoot> |
| 164 |
</table> <!-- /#claimst --> |
163 |
</table> <!-- /#claimst --> |
| 165 |
</div> <!-- /.page-section --> |
164 |
</div> <!-- /.page-section --> |
| 166 |
|
165 |
|
|
Lines 294-313
Link Here
|
| 294 |
[% MACRO jsinclude BLOCK %] |
293 |
[% MACRO jsinclude BLOCK %] |
| 295 |
[% INCLUDE 'calendar.inc' %] |
294 |
[% INCLUDE 'calendar.inc' %] |
| 296 |
[% INCLUDE 'datatables.inc' %] |
295 |
[% INCLUDE 'datatables.inc' %] |
|
|
296 |
[% INCLUDE 'columns_settings.inc' %] |
| 297 |
<script> |
297 |
<script> |
| 298 |
var sTable; |
|
|
| 299 |
$(document).ready(function() { |
298 |
$(document).ready(function() { |
| 300 |
enableSelectedActions(); |
299 |
enableSelectedActions(); |
| 301 |
sTable = $("#claimst").dataTable($.extend(true, {}, dataTablesDefaults, { |
300 |
|
| 302 |
"dom": 't', |
301 |
var table_settings = [% TablesSettings.GetTableSettings( 'serials', 'claims', 'claimst', 'json' ) | $raw %]; |
|
|
302 |
var sTable = KohaTable("claimst", { |
| 303 |
"autoWidth": false, |
| 304 |
"dom": '<"dt-info"><"top pager"<"table_entries"lip><"table_controls"B>>tr<"bottom pager"ip>', |
| 303 |
"order": [[ 7, "asc" ]], |
305 |
"order": [[ 7, "asc" ]], |
| 304 |
"columnDefs": [ |
306 |
"columnDefs": [ |
| 305 |
{ 'sortable': false, 'targets': [ 'NoSort' ] }, |
307 |
{ 'sortable': false, 'targets': [ 'NoSort' ] }, |
| 306 |
{ "type": "anti-the", "targets": [ 'anti-the'] } |
308 |
{ "type": "anti-the", "targets": [ 'anti-the'] } |
| 307 |
], |
309 |
], |
| 308 |
"paginate": false |
310 |
"paginate": false, |
| 309 |
})); |
311 |
"orderCellsTop": true |
| 310 |
sTable.fnAddFilters("filter", "200"); |
312 |
}, table_settings); |
|
|
313 |
|
| 314 |
sTable.fnAddFilters("filter"); |
| 311 |
|
315 |
|
| 312 |
// Checkboxes : Select All / None |
316 |
// Checkboxes : Select All / None |
| 313 |
$("span.checkall").html("<input type=\"checkbox\" name=\"CheckAll\"> "+_("Check all")+"</input>"); |
317 |
$("span.checkall").html("<input type=\"checkbox\" name=\"CheckAll\"> "+_("Check all")+"</input>"); |
| 314 |
- |
|
|