Kyle M Hall
a8942c2884
Revert "DBRev to make notes of the XSS patches and the new important dependency." This reverts commite140603a59
. Revert "Bug 13618: Specific for branches.opac_info" This reverts commit06e4a50f00
. Revert "Bug 13618: (follow-up) Specific for other prefs" This reverts commitd6475a111f
. Revert "Bug 13618: Fix for debarredcomment and patron messages" This reverts commitdd98c9df92
. Revert "Bug 13618: Do not display html tags in patron's notices" This reverts commita065b243fe
. Revert "Bug 13618: Do not display and html tags in item fields content" This reverts commitbaeeaffbf8
. Revert "Bug 13618: Fix for system preference description" This reverts commita967a09261
. Revert "Bug 13618: Remove html filters for newly pushed code" This reverts commit0e98662b10
. Revert "Bug 13618: (follow-up) add missing lines for opac-shelves" This reverts commitfc2fb605e5
. Revert "Bug 13618: (follow-up) Specific for ColumnsSettings" This reverts commitbc308fdd9c
. Revert "Bug 13618: Fix for edit biblios and items" This reverts commit811c4e8402
. Revert "Bug 13618: followup to remove tabs" This reverts commitca8e8c397c
. Revert "Bug 13618: Fix last occurrences recently introduced to master" This reverts commitbb417b256b
. Revert "Bug 13618: Fix for news" This reverts commitae5b98020a
. Revert "Bug 13618: Fix escape on sending baskets or shelves by email" This reverts commita7731ffe25
. Revert "Bug 13618: Specific for XSLTBloc" This reverts commit11fa38dc29
. Revert "Bug 13618: Specific for Salutation on editing a patron" This reverts commit36c07ad6d3
. Revert "Bug 13618: Specific for other prefs" This reverts commite6ea281a3b
. Revert "Bug 13618 - memberentrygen.tt errors Not a GLOB reference" This reverts commit7824874557
. Revert "Bug 13618: Specific for ColumnsSettings" This reverts commit1834da3da3
. Revert "Bug 13618: Specific for IntranetUser* and OPACUser* prefs" This reverts commit21ae62b253
. Revert "Bug 13618: Fix error 'Not a GLOB reference'" This reverts commit602bdbab4c
. Revert "Bug 13618: Specific for the ISBD view" This reverts commitd254362435
. Revert "Bug 13618: Specific for pagination_bar" This reverts commit8837a8ae68
. Revert "Bug 13618: Specific places where we don't need to escape variables - intra" This reverts commit00eff140b3
. Revert "Bug 13618: Remove html filters at the intranet" This reverts commit7db851ff03
. Revert "Bug 13618: Specific places where we don't need to escape variables" This reverts commit49a3738b8d
. Revert "Bug 13618: Remove html filters at the OPAC" This reverts commitcedaa0e23e
. Revert "Bug 13618: Use Template::Stash::AutoEscaping to use the html filter" This reverts commit01b38d3b13
. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
146 lines
5.1 KiB
Text
146 lines
5.1 KiB
Text
[% USE KohaDates %]
|
|
[% USE Koha %]
|
|
[% USE AuthorisedValues %]
|
|
[% USE Branches %]
|
|
[% 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="[% themelang %]/css/datatables.css" />
|
|
[% INCLUDE 'datatables.inc' %]
|
|
<script type="text/javascript" id="js">
|
|
//<![CDATA[
|
|
|
|
$(document).ready(function() {
|
|
var table = $("#table_readingrec").dataTable($.extend(true, {}, dataTablesDefaults, {
|
|
"sPaginationType": "four_button",
|
|
"aaSorting": [],
|
|
"aoColumnDefs": [
|
|
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] },
|
|
{ "sType": "title-string", "aTargets" : [ "title-string" ] }
|
|
]
|
|
}));
|
|
var tabs = $("#tabs").tabs({
|
|
activate: function(e, ui) {
|
|
var active = tabs.tabs("option", "active" );
|
|
if ( active == 1 ) {
|
|
table.fnFilter("standard_checkout", 0);
|
|
} else if ( active == 2 ) {
|
|
table.fnFilter("onsite_checkout", 0);
|
|
} else { // all
|
|
table.fnFilter('', 0);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
//]]>
|
|
</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 'members-toolbar.inc' %]
|
|
<h1>Circulation history</h1>
|
|
|
|
[% UNLESS Koha.Preference('intranetreadinghistory') %]
|
|
<div class="dialog alert">Staff members are not allowed to access patron's checkout history</div>
|
|
[% ELSIF is_anonymous %]
|
|
<div class="dialog alert">This is the anonymous patron, so no circulation history is displayed. To get a list of anonymized loans, please run a report.</div>
|
|
[% ELSIF ( privacy == 2) %]
|
|
<div class="dialog message">This patron has set the privacy rules to never keeping a circulation history.</div>
|
|
[% ELSIF ( !loop_reading ) %]
|
|
<div class="dialog message">This patron has no circulation history.</div>
|
|
[% ELSE %]
|
|
<form action="/cgi-bin/koha/members/readingrec.pl" method="get"><input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /></form>
|
|
|
|
|
|
<div id="tabs" class="toptabs">
|
|
[% IF Koha.Preference('OnSiteCheckouts') %]
|
|
<ul>
|
|
<li><a href="#readingrec" id="tab_all">All</a></li>
|
|
<li><a href="#readingrec" id="tab_checkout">Checkouts</a></li>
|
|
<li><a href="#readingrec" id="tab_onsite_checkout">On-site checkouts</a></li>
|
|
</ul>
|
|
[% END %]
|
|
<div id="readingrec" style="overflow:hidden">
|
|
<table id="table_readingrec">
|
|
<thead>
|
|
<th style="display:none;">Type</th>
|
|
<th class="title-string">Date</th>
|
|
<th class="anti-the">Title</th>
|
|
<th>Author</th>
|
|
<th>Call no.</th>
|
|
<th>Barcode</th>
|
|
<th>Number of renewals</th>
|
|
<th class="title-string">Checked out on</th>
|
|
<th>Checked out from</th>
|
|
<th class="title-string">Date due</th>
|
|
<th class="title-string">Return date</th>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH issue IN loop_reading %]
|
|
[% IF issue.returndate %]<tr>[% ELSE %]<tr class="onissue">[% END %]
|
|
<td style="display:none;">
|
|
[% IF issue.onsite_checkout %]
|
|
onsite_checkout
|
|
[% ELSE %]
|
|
standard_checkout
|
|
[% END %]
|
|
</td>
|
|
<td>
|
|
<span title="[% issue.issuestimestamp %]">[% issue.issuestimestamp | $KohaDates with_hours => 1 %]</span>
|
|
</td>
|
|
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% issue.biblionumber %]">[% issue.title |html %]</a></td>
|
|
|
|
<td>[% issue.author %]</td>
|
|
|
|
<td>
|
|
[% IF issue.classification %]
|
|
[% issue.classification %]
|
|
[% ELSE %]
|
|
[% issue.itemcallnumber %]
|
|
[% END %]
|
|
</td>
|
|
|
|
<td>[% issue.barcode %]</td>
|
|
<td>[% issue.renewals %]</td>
|
|
<td>
|
|
<span title="[% issue.issuedate %]">[% issue.issuedate |$KohaDates with_hours => 1 %]</span>
|
|
</td>
|
|
<td>[% Branches.GetName( issue.branchcode ) %]</td>
|
|
<td>
|
|
[% IF issue.date_due %]
|
|
<span title="[% issue.date_due %]">[% issue.date_due |$KohaDates with_hours => 1 %]</span>
|
|
[% ELSE %]
|
|
<span title="0000-00-00"></span>
|
|
[% END %]
|
|
</td>
|
|
<td>
|
|
[% IF issue.returndate %]
|
|
<span title="[% issue.returndate %]">[% issue.returndate |$KohaDates with_hours => 1 %]</span>
|
|
[% ELSE %]
|
|
<span title="Checked out"><small>Checked out</small></span>
|
|
[% END %]
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
|
|
<div class="yui-b">
|
|
[% INCLUDE 'circ-menu.inc' %]
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|