X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fmembers%2Freadingrec.tt;h=5f2e1d836b6d65dac7ed672d68b85b973b5895b3;hb=e17209de48f3c9d3184dfd430d882a4e8f8d5d4f;hp=f1554f0aed9bdc406c1f5fc14c8433c2ee8d2ca2;hpb=f029e9aba7d6c03b3c8e19697af31071b595dcc9;p=koha.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt index f1554f0aed..5f2e1d836b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt @@ -1,87 +1,139 @@ +[% USE KohaDates %] +[% USE Koha %] +[% USE AuthorisedValues %] +[% USE Branches %] [% INCLUDE 'doc-head-open.inc' %] Circulation History for [% INCLUDE 'patron-title.inc' %] [% INCLUDE 'doc-head-close.inc' %] - - - + +[% INCLUDE 'datatables.inc' %] + - + [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %] - +
-[% 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 %]
-
-[% INCLUDE 'table-pager.inc' perpage='20' %] -
- - - - - - - - - - - - - -[% FOREACH loop_readin IN loop_reading %] - [% IF ( loop_readin.returndate ) %][% ELSE %][% END %] - - - +
+ [% IF Koha.Preference('OnSiteCheckouts') %] + + [% END %] +
+
DateTitleAuthorCall No.BarcodeNumber of RenewalsChecked out onChecked out fromDate DueReturn Date
- [% loop_readin.issuestimestamp %] - [% loop_readin.title |html %][% loop_readin.author %]
+ + + + + + + + + + + + + + + [% FOREACH issue IN loop_reading %] + [% IF issue.returndate %][% ELSE %][% END %] + + + - + - + - - - - - - -[% END %] -
TypeDateTitleAuthorCall no.BarcodeNumber of renewalsChecked out onChecked out fromDate dueReturn date
+ [% 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 %] -
-[% 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 %] + + +
+
[% END %]