91fa5f9bbd
The navigation bar is now supplied by the datatables plugin however we are still calling the old navigation include resulting in a second navigation bar which does nor work Signed-off-by: Magnus Enger <magnus@enger.priv.no> Works as advertised, without introducing any bad side effects that I can see. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
86 lines
2.7 KiB
Text
86 lines
2.7 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Circulation History for [% INCLUDE 'patron-title.inc' %]</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" />
|
|
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
|
|
[% INCLUDE 'datatables-strings.inc' %]
|
|
<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script>
|
|
<script type="text/javascript" id="js">$(document).ready(function() {
|
|
$(document).ready(function() {
|
|
$("#table_readingrec").dataTable($.extend(true, {}, dataTablesDefaults, {
|
|
"sPaginationType": "four_button",
|
|
}));
|
|
});
|
|
}); </script>
|
|
</head>
|
|
<body id="pat_readingrec" class="pat">
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE 'patron-search.inc' %]
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › Circulation history for [% INCLUDE 'patron-title.inc' %]</div>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
[% INCLUDE 'circ-toolbar.inc' %]
|
|
<h1>Circulation history</h1>
|
|
[% IF ( loop_reading ) %]
|
|
<form action="/cgi-bin/koha/members/readingrec.pl" method="get"><input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /></form>
|
|
|
|
|
|
<table id="table_readingrec">
|
|
<thead>
|
|
<th>Date</th>
|
|
<th>Title</th>
|
|
<th>Author</th>
|
|
<th>Call no.</th>
|
|
<th>Barcode</th>
|
|
<th>Number of renewals</th>
|
|
<th>Checked out on</th>
|
|
<th>Checked out from</th>
|
|
<th>Date due</th>
|
|
<th>Return date</th>
|
|
</thead>
|
|
[% FOREACH loop_readin IN loop_reading %]
|
|
[% IF ( loop_readin.returndate ) %]<tr>[% ELSE %]<tr class="onissue">[% END %]
|
|
<td>
|
|
[% loop_readin.issuestimestamp %]
|
|
</td>
|
|
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loop_readin.biblionumber %]">[% loop_readin.title |html %]</a></td>
|
|
|
|
<td>[% loop_readin.author %]</td>
|
|
|
|
<td>[% loop_readin.classification %]</td>
|
|
|
|
<td>[% loop_readin.barcode %]</td>
|
|
|
|
<td>
|
|
[% loop_readin.renewals %]</td>
|
|
<td>
|
|
[% loop_readin.issuedate %]</td>
|
|
<td>
|
|
[% loop_readin.issuingbranch %]</td>
|
|
<td>[% IF ( loop_readin.date_due ) %][% loop_readin.date_due %][% ELSE %] [% END %]</td>
|
|
<td>
|
|
[% IF ( loop_readin.returndate ) %]
|
|
[% loop_readin.returndate %]
|
|
[% ELSE %]
|
|
Checked Out
|
|
[% END %]
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
[% ELSE %]
|
|
<div class="dialog message">This patron has no circulation history.</div>
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
|
|
<div class="yui-b">
|
|
[% INCLUDE 'circ-menu.inc' %]
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|