Lines 14-19
Link Here
|
14 |
[% ELSE %] |
14 |
[% ELSE %] |
15 |
<link rel="shortcut icon" href="[% interface | html %]/[% theme | html %]/images/favicon.ico" type="image/x-icon" /> |
15 |
<link rel="shortcut icon" href="[% interface | html %]/[% theme | html %]/images/favicon.ico" type="image/x-icon" /> |
16 |
[% END %] |
16 |
[% END %] |
|
|
17 |
[% Asset.css("lib/jquery/responsive.dataTables.min.css") | $raw %] |
17 |
[% Asset.css("lib/fontawesome/css/fontawesome.min.css") | $raw %] |
18 |
[% Asset.css("lib/fontawesome/css/fontawesome.min.css") | $raw %] |
18 |
[% Asset.css("lib/fontawesome/css/brands.min.css") | $raw %] |
19 |
[% Asset.css("lib/fontawesome/css/brands.min.css") | $raw %] |
19 |
[% Asset.css("lib/fontawesome/css/solid.min.css") | $raw %] |
20 |
[% Asset.css("lib/fontawesome/css/solid.min.css") | $raw %] |
Lines 308-320
Link Here
|
308 |
<thead> |
309 |
<thead> |
309 |
<tr> |
310 |
<tr> |
310 |
<th class="noshow">Checked out on</th> |
311 |
<th class="noshow">Checked out on</th> |
311 |
<th class="anti-the">Title</th> |
312 |
<th class="all anti-the">Title</th> |
312 |
<th>Call number</th> |
313 |
<th>Call number</th> |
313 |
<th>Due</th> |
314 |
<th class="psort">Due</th> |
314 |
<th class="nosort">Renew</th> |
315 |
<th class="all nosort">Renew</th> |
315 |
[% UNLESS ( nofines ) %] |
316 |
[% UNLESS ( nofines ) %] |
316 |
<th>Fines</th> |
317 |
<th>Fines</th> |
317 |
[% END %] |
318 |
[% END %] |
|
|
319 |
<th></th> |
318 |
</tr> |
320 |
</tr> |
319 |
</thead> |
321 |
</thead> |
320 |
<tbody> |
322 |
<tbody> |
Lines 370-378
Link Here
|
370 |
<span>No renewals allowed</span> |
372 |
<span>No renewals allowed</span> |
371 |
[% END %] |
373 |
[% END %] |
372 |
[% IF Koha.Preference('SCOAllowCheckin') %] |
374 |
[% IF Koha.Preference('SCOAllowCheckin') %] |
373 |
<input type="submit" value="Check in item" name="confirm" class="btn btn-info btn-sm return" /> |
375 |
<div> |
374 |
<input type="hidden" name="op" value="returnbook" /> |
376 |
<input type="submit" value="Check in item" name="confirm" class="btn btn-info btn-sm return" /> |
375 |
<input type="hidden" name="confirmed" value="" /> |
377 |
<input type="hidden" name="op" value="returnbook" /> |
|
|
378 |
<input type="hidden" name="confirmed" value="" /> |
379 |
</div> |
376 |
[% END %] |
380 |
[% END %] |
377 |
[% END %] |
381 |
[% END %] |
378 |
</form> |
382 |
</form> |
Lines 382-387
Link Here
|
382 |
[% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %] |
386 |
[% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %] |
383 |
</td> |
387 |
</td> |
384 |
[% END %] |
388 |
[% END %] |
|
|
389 |
<td></td> |
385 |
</tr> |
390 |
</tr> |
386 |
[% END # / FOREACH ISSUE %] |
391 |
[% END # / FOREACH ISSUE %] |
387 |
</tbody> |
392 |
</tbody> |
Lines 501-519
Link Here
|
501 |
} |
506 |
} |
502 |
[% END %] |
507 |
[% END %] |
503 |
|
508 |
|
504 |
|
|
|
505 |
$(document).ready(function() { |
509 |
$(document).ready(function() { |
506 |
dofocus(); |
510 |
dofocus(); |
507 |
[% IF ( patronid ) %]sco_init();[% END %] |
511 |
[% IF ( patronid ) %]sco_init();[% END %] |
508 |
$("#loanTable").dataTable($.extend(true, {}, dataTablesDefaults, { |
512 |
|
509 |
"dom": "t", |
513 |
var dTables = $("#loanTable, #holdst, #finestable"); |
510 |
"order": [ 0 ], |
514 |
dTables.each(function(){ |
511 |
"columnDefs": [ |
515 |
var thIndex = $(this).find("th.psort").index(); |
512 |
{ "targets": [ "nosort" ], "sortable": false, "searchable": false }, |
516 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |
513 |
{ "targets": [ "noshow" ], "visible": false, "searchable": false }, |
517 |
"sorting" : [[ thIndex, 'asc' ]], |
514 |
{ "type": "anti-the", "targets" : [ "anti-the" ] } |
518 |
"dom": '<"top"<"table_entries"><"table_controls"fB>>t', |
515 |
] |
519 |
"columnDefs": [ |
516 |
})); |
520 |
{ "targets": [ "nosort" ],"sortable": false,"searchable": false }, |
|
|
521 |
{ "targets": [ "noshow" ], "visible": false, "searchable": false }, |
522 |
{ "type": "anti-the", "targets" : [ "anti-the" ] }, |
523 |
{ "visible": false, "targets" : [ "hidden" ] }, |
524 |
{ "className": 'dtr-control', "orderable": false, "targets": -1 } |
525 |
], |
526 |
"language": { |
527 |
"search": "_INPUT_", |
528 |
"searchPlaceholder": _("Search") |
529 |
}, |
530 |
"autoWidth": false, |
531 |
"responsive": { |
532 |
details: { |
533 |
type: 'column', |
534 |
target: -1 |
535 |
} |
536 |
} |
537 |
})); |
538 |
}); |
539 |
|
540 |
$('a[data-toggle="tab"]').on('shown.bs.tab', function (event) { |
541 |
dTables.DataTable().responsive.recalc(); |
542 |
dataTables.DataTable().responsive.recalc(); |
543 |
} ); |
517 |
|
544 |
|
518 |
$("#logout_form").on("click", function(e){ |
545 |
$("#logout_form").on("click", function(e){ |
519 |
e.preventDefault(e); |
546 |
e.preventDefault(e); |
520 |
- |
|
|