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=36f8937eebd719fb6b361efa78b97450ab1079cb;hpb=8f698965b1f368967b878db8adb3a6f785fa5f26;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 36f8937eeb..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,79 +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-strings.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 %]
- - - - - - - - - - - - - -[% 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 %]