-[% INCLUDE 'circ-toolbar.inc' %]
-
Circulation History
-[% IF ( loop_reading ) %]
+[% INCLUDE 'members-toolbar.inc' %]
+
Circulation history
+
+[% UNLESS Koha.Preference('intranetreadinghistory') %]
+
Staff members are not allowed to access patron's checkout history
+[% ELSIF is_anonymous %]
+
This is the anonymous patron, so no circulation history is displayed. To get a list of anonymized loans, please run a report.
+[% ELSIF ( privacy == 2) %]
+
This patron has set the privacy rules to never keeping a circulation history.
+[% ELSIF ( !loop_reading ) %]
+
This patron has no circulation history.
+[% ELSE %]
-
-
- Date |
- Title |
- Author |
- Call No. |
- Barcode |
- Number of Renewals |
- Checked out on |
- Checked out from |
- Date Due |
- Return Date |
-
-[% FOREACH loop_readin IN loop_reading %]
- [% IF ( loop_readin.returndate ) %][% ELSE %]
[% END %]
-
- [% loop_readin.issuestimestamp %]
- |
- [% loop_readin.title |html %] |
- [% loop_readin.author %] |
+
+ [% IF Koha.Preference('OnSiteCheckouts') %]
+
+ [% END %]
+
+
+
+ Type |
+ Date |
+ Title |
+ Author |
+ Call no. |
+ Barcode |
+ Number of renewals |
+ Checked out on |
+ Checked out from |
+ Date due |
+ Return date |
+
+
+ [% FOREACH issue IN loop_reading %]
+ [% IF issue.returndate %][% ELSE %]
[% END %]
+
+ [% IF issue.onsite_checkout %][% issuetype = 'onsite_checkout' %]
+ [% ELSE %][% issuetype = 'standard_checkout' %]
+ [% END %]
+ [% issuetype %]
+ |
+
+ [% issue.issuestimestamp | $KohaDates with_hours => 1 %]
+ |
+ [% issue.title |html %] |
- [% loop_readin.classification %] |
+ [% issue.author %] |
- [% loop_readin.barcode %] |
+
+ [% IF issue.classification %]
+ [% issue.classification %]
+ [% ELSE %]
+ [% issue.itemcallnumber %]
+ [% END %]
+ |
-
- [% loop_readin.renewals %] |
-
- [% loop_readin.issuedate %] |
-
- [% loop_readin.issuingbranch %] |
- [% IF ( loop_readin.date_due ) %][% loop_readin.date_due %][% ELSE %] [% END %] |
-
- [% IF ( loop_readin.returndate ) %]
- [% loop_readin.returndate %]
- [% ELSE %]
- Checked Out
- [% END %]
- |
-
-[% END %]
-
-[% ELSE %]
-
This patron has no circulation history.
+
[% issue.barcode %] |
+
[% issue.renewals %] |
+
+ [% issue.issuedate |$KohaDates with_hours => 1 %]
+ |
+
[% Branches.GetName( issue.branchcode ) %] |
+
+ [% IF issue.date_due %]
+ [% issue.date_due |$KohaDates with_hours => 1 %]
+ [% ELSE %]
+
+ [% END %]
+ |
+
+ [% IF issue.returndate %]
+ [% issue.returndate |$KohaDates with_hours => 1 %]
+ [% ELSE %]
+ Checked out
+ [% END %]
+ |
+
+ [% END %]
+
+
+
+