X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fcatalogue%2Fissuehistory.tt;h=215b40d23ca47292f7ba7110453b2c5bd210e494;hb=7fbd50e3aa07e46f0558d4f52231896937c998bc;hp=14d823c128c3e326970ed407ffbd631001dd0e65;hpb=0486d0c6b781fbda73df19eb825ef330bdc4544a;p=koha.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt index 14d823c128..215b40d23c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt @@ -1,13 +1,22 @@ +[% USE raw %] +[% USE Asset %] +[% USE Koha %] +[% USE KohaDates %] +[% USE Branches %] +[% USE ColumnsSettings %] +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -
Patron | + [% END %]Barcode | Checked out from | Renewed | -Checkout on | -Due date | -Checkin on | +Checkout on | +Due date | +Checkin on | ||
---|---|---|---|---|---|---|---|---|---|---|---|
[% IF HidePatronName %][% issue.cardnumber %][% ELSE %][% issue.surname %][% IF ( issue.firstname ) %], [% issue.firstname %][% END %][% END %] | -[% IF ( issue.barcode ) %] - [% issue.barcode %] + [% FOREACH checkout IN checkouts %] + | ||||||||||
+ [% IF checkout.patron %][%# Not set for deleted patron records %] + [% INCLUDE 'patron-title.inc' patron => checkout.patron hide_patron_infos_if_needed=1 %] + [% END %] + | + [% END %] ++ [% IF checkout.item.barcode %] [%# FIXME This test is not mandatory I think %] + [% checkout.item.barcode | html %] [% ELSE %] [% END %] | -[% IF ( issue.branchcode ) %] - [% issue.branchcode %] + | [% IF checkout.branchcode %] + [% Branches.GetName( checkout.branchcode ) | html %] [% ELSE %] [% END %] | -[% IF ( issue.renewals ) %] - Yes[% IF ( issue.lastreneweddate ) %], last on: [% issue.lastreneweddate %] + | [% IF checkout.renewals %] + Yes[% IF checkout.lastreneweddate %], last on: [% checkout.lastreneweddate |$KohaDates with_hours => 1 | html %] [% END %] [% ELSE %] No [% END %] | -[% IF ( issue.issuedate ) %] - [% issue.issuedate %] + | [% IF checkout.issuedate %] + [% checkout.issuedate |$KohaDates with_hours => 1 | html %] [% ELSE %] - + [% END %] | -[% IF ( issue.date_due ) %] - [% issue.date_due %] + | [% IF checkout.date_due %] + [% checkout.date_due |$KohaDates with_hours => 1 | html %] [% ELSE %] - + [% END %] | -[% IF ( issue.returndate ) %] - [% issue.returndate %] + | [% IF checkout.returndate %] + [% checkout.returndate |$KohaDates with_hours => 1 | html %] [% ELSE %] - + Checked out [% END %] |