5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Catalog › Checkout history for [% biblio.title |html %]</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 <link rel="stylesheet" href="[% interface %]/[% theme %]/css/datatables.css" />
11 <body id="catalog_issuehistory" class="catalog">
13 [% INCLUDE 'header.inc' %]
14 [% INCLUDE 'cat-search.inc' %]
16 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Checkout history for <i>[% biblio.title |html %]</i></div>
18 <div id="doc3" class="yui-t2">
24 <h1>Checkout history for [% biblio.title |html %]</h1>
25 [% IF biblio.author %]<h3>by [% biblio.author %]</h3>[% END %]
27 <div class="searchresults">
29 <h4>Checked out [% total %] times</h4>
30 <table id="table_issues">
32 [% IF Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
36 <th>Checked out from</th>
38 <th class='title-string'>Checkout on</th>
39 <th class='title-string'>Due date</th>
40 <th class='title-string'>Checkin on</th>
43 [% FOREACH issue IN issues %]
45 [% IF Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
46 <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>
48 <td>[% IF ( issue.barcode ) %]
49 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% issue.biblionumber %]&itemnumber=[% issue.itemnumber %]">[% issue.barcode %]</a>
53 <td>[% IF ( issue.branchcode ) %]
54 [% Branches.GetName( issue.branchcode ) %]
58 <td>[% IF ( issue.renewals ) %]
59 Yes[% IF ( issue.lastreneweddate ) %], <small>last on: [% issue.lastreneweddate |$KohaDates with_hours => 1 %]</small>
64 <td>[% IF ( issue.issuedate ) %]
65 <span title="[% issue.issuedate %]">[% issue.issuedate |$KohaDates with_hours => 1 %]</span>
67 <span title="0000-00-00"></span>
69 <td>[% IF ( issue.date_due ) %]
70 <span title="[% issue.date_due %]">[% issue.date_due |$KohaDates with_hours => 1 %]</span>
72 <span title="0000-00-00"></span>
74 <td>[% IF ( issue.returndate ) %]
75 <span title="[% issue.returndate %]">[% issue.returndate |$KohaDates with_hours => 1 %]</span>
77 <span title="Checked out"><small>Checked out</small></span>
84 <div class="dialog message"><p>
85 <b>[% biblio.title |html %][% IF biblio.author %], by [% biblio.author %][% END %]</b> has never been checked out.</p></div>
93 [% INCLUDE 'biblio-view-menu.inc' %]
97 [% MACRO jsinclude BLOCK %]
98 [% INCLUDE 'datatables.inc' %]
99 <script type="text/javascript" id="js">
100 $(document).ready(function() {
101 $("#table_issues").dataTable($.extend(true, {}, dataTablesDefaults, {
103 { "sType": "title-string", "aTargets" : [ "title-string" ] }
105 "aaSorting": [[ 4, "desc" ]],
106 "sPaginationType": "full_numbers"
112 [% INCLUDE 'intranet-bottom.inc' %]