[% USE raw %]
[% USE Asset %]
[% USE Koha %]
[% USE KohaDates %]
[% USE Branches %]
[% USE ColumnsSettings %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
Koha › Catalog › Checkout history for [% biblio.title | html %]
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
Home › Catalog › Checkout history for [% biblio.title | html %]
Checkout history for [% biblio.title | html %]
[% IF biblio.author %]
by [% biblio.author | html %]
[% END %]
[% SET show_patron_column = Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
[% IF checkouts %]
Checked out [% checkouts.size | html %] times
[% IF show_patron_column %]
Patron
[% END %]
Barcode
Checked out from
Renewed
Checkout on
Due date
Checkin on
[% FOREACH checkout IN checkouts %]
[% IF show_patron_column %]
[% IF checkout.patron %][%# Not set for deleted patron records %]
[% INCLUDE 'patron-title.inc' patron => checkout.patron hide_patron_infos_if_needed=1 %]
[% END %]
[% IF checkout.branchcode %]
[% Branches.GetName( checkout.branchcode ) | html %]
[% ELSE %]
[% END %]
[% IF checkout.renewals %]
Yes[% IF checkout.lastreneweddate %], last on: [% checkout.lastreneweddate |$KohaDates with_hours => 1 %]
[% END %]
[% ELSE %]
No
[% END %]
[% IF checkout.issuedate %]
[% checkout.issuedate |$KohaDates with_hours => 1 %]
[% ELSE %]
[% END %]
[% IF checkout.date_due %]
[% checkout.date_due |$KohaDates with_hours => 1 %]
[% ELSE %]
[% END %]
[% IF checkout.returndate %]
[% checkout.returndate |$KohaDates with_hours => 1 %]
[% ELSE %]
Checked out
[% END %]
[% END %]
[% ELSE %]
[% biblio.title | html %][% IF biblio.author %], by [% biblio.author | html %][% END %] has never been checked out.
[% END %]
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'datatables.inc' %]
[% INCLUDE 'columns_settings.inc' %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]