|
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 368-376
Link Here
|
| 368 |
<span>No renewals allowed</span> |
370 |
<span>No renewals allowed</span> |
| 369 |
[% END %] |
371 |
[% END %] |
| 370 |
[% IF Koha.Preference('SCOAllowCheckin') %] |
372 |
[% IF Koha.Preference('SCOAllowCheckin') %] |
| 371 |
<input type="submit" value="Check in item" name="confirm" class="btn btn-info btn-sm return" /> |
373 |
<div> |
| 372 |
<input type="hidden" name="op" value="returnbook" /> |
374 |
<input type="submit" value="Check in item" name="confirm" class="btn btn-info btn-sm return" /> |
| 373 |
<input type="hidden" name="confirmed" value="" /> |
375 |
<input type="hidden" name="op" value="returnbook" /> |
|
|
376 |
<input type="hidden" name="confirmed" value="" /> |
| 377 |
</div> |
| 374 |
[% END %] |
378 |
[% END %] |
| 375 |
[% END %] |
379 |
[% END %] |
| 376 |
[% IF ISSUE.auto_renew %] |
380 |
[% IF ISSUE.auto_renew %] |
|
Lines 383-388
Link Here
|
| 383 |
[% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %] |
387 |
[% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %] |
| 384 |
</td> |
388 |
</td> |
| 385 |
[% END %] |
389 |
[% END %] |
|
|
390 |
<td></td> |
| 386 |
</tr> |
391 |
</tr> |
| 387 |
[% END # / FOREACH ISSUE %] |
392 |
[% END # / FOREACH ISSUE %] |
| 388 |
</tbody> |
393 |
</tbody> |
|
Lines 502-520
Link Here
|
| 502 |
} |
507 |
} |
| 503 |
[% END %] |
508 |
[% END %] |
| 504 |
|
509 |
|
| 505 |
|
|
|
| 506 |
$(document).ready(function() { |
510 |
$(document).ready(function() { |
| 507 |
dofocus(); |
511 |
dofocus(); |
| 508 |
[% IF ( patronid ) %]sco_init();[% END %] |
512 |
[% IF ( patronid ) %]sco_init();[% END %] |
| 509 |
$("#loanTable").dataTable($.extend(true, {}, dataTablesDefaults, { |
513 |
|
| 510 |
"dom": "t", |
514 |
var dTables = $("#loanTable, #holdst, #finestable"); |
| 511 |
"order": [ 0 ], |
515 |
dTables.each(function(){ |
| 512 |
"columnDefs": [ |
516 |
var thIndex = $(this).find("th.psort").index(); |
| 513 |
{ "targets": [ "nosort" ], "sortable": false, "searchable": false }, |
517 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |
| 514 |
{ "targets": [ "noshow" ], "visible": false, "searchable": false }, |
518 |
"sorting" : [[ thIndex, 'asc' ]], |
| 515 |
{ "type": "anti-the", "targets" : [ "anti-the" ] } |
519 |
"dom": '<"top"<"table_entries"><"table_controls"fB>>t', |
| 516 |
] |
520 |
"columnDefs": [ |
| 517 |
})); |
521 |
{ "targets": [ "nosort" ],"sortable": false,"searchable": false }, |
|
|
522 |
{ "targets": [ "noshow" ], "visible": false, "searchable": false }, |
| 523 |
{ "type": "anti-the", "targets" : [ "anti-the" ] }, |
| 524 |
{ "visible": false, "targets" : [ "hidden" ] }, |
| 525 |
{ "className": 'dtr-control', "orderable": false, "targets": -1 } |
| 526 |
], |
| 527 |
"language": { |
| 528 |
"search": "_INPUT_", |
| 529 |
"searchPlaceholder": _("Search") |
| 530 |
}, |
| 531 |
"autoWidth": false, |
| 532 |
"responsive": { |
| 533 |
details: { |
| 534 |
type: 'column', |
| 535 |
target: -1 |
| 536 |
} |
| 537 |
} |
| 538 |
})); |
| 539 |
}); |
| 540 |
|
| 541 |
$('a[data-toggle="tab"]').on('shown.bs.tab', function (event) { |
| 542 |
dTables.DataTable().responsive.recalc(); |
| 543 |
dataTables.DataTable().responsive.recalc(); |
| 544 |
} ); |
| 518 |
|
545 |
|
| 519 |
$("#logout_form").on("click", function(e){ |
546 |
$("#logout_form").on("click", function(e){ |
| 520 |
e.preventDefault(e); |
547 |
e.preventDefault(e); |
| 521 |
- |
|
|