[% USE raw %]
[% USE Asset %]
[% USE Koha %]
[% USE KohaDates %]
[% USE Branches %]
[% USE TablesSettings %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
Checkout history for [% INCLUDE 'biblio-title-head.inc' %] › Catalog › Koha
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
Checkout history for [% INCLUDE 'biblio-title.inc' %]
[% 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
[% IF Koha.Preference('RecordStaffUserOnCheckout') %]
Checked out by
[% ELSE %]
Checked out by
[% END %]
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.renewals_count %]
Yes[% IF checkout.lastreneweddate %], last on: [% checkout.lastreneweddate |$KohaDates with_hours => 1 %]
[% END %]
[% ELSE %]
No
[% END %]