Lines 1-3
Link Here
|
|
|
1 |
[% USE Koha %] |
1 |
[% USE KohaDates %] |
2 |
[% USE KohaDates %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
<title>Koha › Catalog › Checkout history for [% title |html %]</title> |
4 |
<title>Koha › Catalog › Checkout history for [% title |html %]</title> |
Lines 7-19
Link Here
|
7 |
<script type="text/javascript" id="js"> |
8 |
<script type="text/javascript" id="js"> |
8 |
$(document).ready(function() { |
9 |
$(document).ready(function() { |
9 |
$("#table_issues").dataTable($.extend(true, {}, dataTablesDefaults, { |
10 |
$("#table_issues").dataTable($.extend(true, {}, dataTablesDefaults, { |
10 |
"aoColumns": [ |
11 |
"aoColumnDefs": [ |
11 |
null,null,null,null,{ "sType": "title-string" },{ "sType": "title-string" },{ "sType": "title-string" } |
12 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
12 |
], |
13 |
], |
13 |
"aaSorting": [[ 4, "desc" ]], |
14 |
"aaSorting": [[ 4, "desc" ]], |
14 |
"sPaginationType": "full_numbers" |
15 |
"sPaginationType": "full_numbers" |
15 |
}) |
16 |
})); |
16 |
); |
|
|
17 |
}); </script> |
17 |
}); </script> |
18 |
|
18 |
|
19 |
</head> |
19 |
</head> |
Lines 38-55
$(document).ready(function() {
Link Here
|
38 |
<h4>Checked out [% total %] times</h4> |
38 |
<h4>Checked out [% total %] times</h4> |
39 |
<table id="table_issues"> |
39 |
<table id="table_issues"> |
40 |
<thead><tr> |
40 |
<thead><tr> |
|
|
41 |
[% IF Koha.Preference('intranetreadinghistory') %] |
41 |
<th>Patron</th> |
42 |
<th>Patron</th> |
|
|
43 |
[% END %] |
42 |
<th>Barcode</th> |
44 |
<th>Barcode</th> |
43 |
<th>Checked out from</th> |
45 |
<th>Checked out from</th> |
44 |
<th>Renewed</th> |
46 |
<th>Renewed</th> |
45 |
<th>Checkout on</th> |
47 |
<th class='title-string'>Checkout on</th> |
46 |
<th>Due date</th> |
48 |
<th class='title-string'>Due date</th> |
47 |
<th>Checkin on</th> |
49 |
<th class='title-string'>Checkin on</th> |
48 |
</tr></thead> |
50 |
</tr></thead> |
49 |
<tbody> |
51 |
<tbody> |
50 |
[% FOREACH issue IN issues %] |
52 |
[% FOREACH issue IN issues %] |
51 |
[% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] |
53 |
<tr> |
|
|
54 |
[% IF Koha.Preference('intranetreadinghistory') %] |
52 |
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issue.borrowernumber %]">[% IF HidePatronName %][% issue.cardnumber %][% ELSE %][% issue.surname %][% IF ( issue.firstname ) %], [% issue.firstname %][% END %][% END %]</a></td> |
55 |
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issue.borrowernumber %]">[% IF HidePatronName %][% issue.cardnumber %][% ELSE %][% issue.surname %][% IF ( issue.firstname ) %], [% issue.firstname %][% END %][% END %]</a></td> |
|
|
56 |
[% END %] |
53 |
<td>[% IF ( issue.barcode ) %] |
57 |
<td>[% IF ( issue.barcode ) %] |
54 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% issue.biblionumber %]&itemnumber=[% issue.itemnumber %]">[% issue.barcode %]</a> |
58 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% issue.biblionumber %]&itemnumber=[% issue.itemnumber %]">[% issue.barcode %]</a> |
55 |
[% ELSE %] |
59 |
[% ELSE %] |