6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Koha › Catalog › Checkout history for [% biblio.title |html %]</title>
8 [% INCLUDE 'doc-head-close.inc' %]
9 [% Asset.css("css/datatables.css") %]
12 <body id="catalog_issuehistory" class="catalog">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'cat-search.inc' %]
17 <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>
19 <div id="doc3" class="yui-t2">
25 <h1>Checkout history for [% biblio.title |html %]</h1>
26 [% IF biblio.author %]<h3>by [% biblio.author %]</h3>[% END %]
28 <div class="searchresults">
30 <h4>Checked out [% checkouts.size %] times</h4>
31 <table id="table_issues">
33 [% IF Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
37 <th>Checked out from</th>
39 <th class='title-string'>Checkout on</th>
40 <th class='title-string'>Due date</th>
41 <th class='title-string'>Checkin on</th>
44 [% FOREACH checkout IN checkouts %]
46 [% IF Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
47 <td>[% INCLUDE 'patron-title.inc' patron => checkout.patron hide_patron_infos_if_needed=1 %]</td>
50 [% IF checkout.item.barcode %] [%# FIXME This test is not mandatory I think %]
51 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout.item.biblionumber %]&itemnumber=[% checkout.item.itemnumber %]">[% checkout.item.barcode %]</a>
55 <td>[% IF checkout.branchcode %]
56 [% Branches.GetName( checkout.branchcode ) %]
60 <td>[% IF checkout.renewals %]
61 Yes[% IF checkout.lastreneweddate %], <small>last on: [% checkout.lastreneweddate |$KohaDates with_hours => 1 %]</small>
66 <td>[% IF checkout.issuedate %]
67 <span title="[% checkout.issuedate %]">[% checkout.issuedate |$KohaDates with_hours => 1 %]</span>
69 <span title="0000-00-00"></span>
71 <td>[% IF checkout.date_due %]
72 <span title="[% checkout.date_due %]">[% checkout.date_due |$KohaDates with_hours => 1 %]</span>
74 <span title="0000-00-00"></span>
76 <td>[% IF checkout.returndate %]
77 <span title="[% checkout.returndate %]">[% checkout.returndate |$KohaDates with_hours => 1 %]</span>
79 <span title="Checked out"><small>Checked out</small></span>
86 <div class="dialog message"><p>
87 <b>[% biblio.title |html %][% IF biblio.author %], by [% biblio.author %][% END %]</b> has never been checked out.</p></div>
95 [% INCLUDE 'biblio-view-menu.inc' %]
99 [% MACRO jsinclude BLOCK %]
100 [% INCLUDE 'datatables.inc' %]
101 <script type="text/javascript" id="js">
102 $(document).ready(function() {
103 $("#table_issues").dataTable($.extend(true, {}, dataTablesDefaults, {
105 { "sType": "title-string", "aTargets" : [ "title-string" ] }
107 "aaSorting": [[ 4, "desc" ]],
108 "sPaginationType": "full_numbers"
114 [% INCLUDE 'intranet-bottom.inc' %]