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_[% KOHA_VERSION %].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">
28 [% IF checkouts.count %]
29 <h4>Checked out [% checkouts.count %] 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 checkout IN checkouts %]
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>
49 [% IF checkout.item.barcode %] [%# FIXME This test is not mandatory I think %]
50 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout.item.biblionumber %]&itemnumber=[% checkout.item.itemnumber %]">[% checkout.item.barcode %]</a>
54 <td>[% IF checkout.branchcode %]
55 [% Branches.GetName( checkout.branchcode ) %]
59 <td>[% IF checkout.renewals %]
60 Yes[% IF checkout.lastreneweddate %], <small>last on: [% checkout.lastreneweddate |$KohaDates with_hours => 1 %]</small>
65 <td>[% IF checkout.issuedate %]
66 <span title="[% checkout.issuedate %]">[% checkout.issuedate |$KohaDates with_hours => 1 %]</span>
68 <span title="0000-00-00"></span>
70 <td>[% IF checkout.date_due %]
71 <span title="[% checkout.date_due %]">[% checkout.date_due |$KohaDates with_hours => 1 %]</span>
73 <span title="0000-00-00"></span>
75 <td>[% IF checkout.returndate %]
76 <span title="[% checkout.returndate %]">[% checkout.returndate |$KohaDates with_hours => 1 %]</span>
78 <span title="Checked out"><small>Checked out</small></span>
85 <div class="dialog message"><p>
86 <b>[% biblio.title |html %][% IF biblio.author %], by [% biblio.author %][% END %]</b> has never been checked out.</p></div>
94 [% INCLUDE 'biblio-view-menu.inc' %]
98 [% MACRO jsinclude BLOCK %]
99 [% INCLUDE 'datatables.inc' %]
100 <script type="text/javascript" id="js">
101 $(document).ready(function() {
102 $("#table_issues").dataTable($.extend(true, {}, dataTablesDefaults, {
104 { "sType": "title-string", "aTargets" : [ "title-string" ] }
106 "aaSorting": [[ 4, "desc" ]],
107 "sPaginationType": "full_numbers"
113 [% INCLUDE 'intranet-bottom.inc' %]