[% USE raw %] [% USE Asset %] [% USE KohaDates %] [% USE Koha %] [% USE AuthorisedValues %] [% USE Branches %] [% USE ColumnsSettings %] [% USE ItemTypes %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Holds history for [% INCLUDE 'patron-title.inc' no_html = 1 %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") | $raw %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %]
[% INCLUDE 'members-toolbar.inc' %]

Holds history

[% UNLESS Koha.Preference('intranetreadinghistory') %]
Staff members are not allowed to access patron's holds history
[% ELSIF is_anonymous %]
This is the anonymous patron, so no holds history is displayed.
[% ELSIF ( !holds ) %]
This patron has no holds history.
[% ELSE %] [% SET show_itemtype_column = Koha.Preference('AllowHoldItemTypeSelection') %]
[% IF show_itemtype_column %] [% END %] [% FOREACH hold IN holds %] [% IF show_itemtype_column %] [% END %] [% END %]
Title Author Barcode Library Hold date Expiration date Waiting date Cancellation dateRequested item typeStatus
[% hold.biblio.title | html %] [% hold.biblio.author | html %] [% hold.item.barcode | html %] [% Branches.GetName( hold.branchcode ) | html %] [% hold.reservedate | $KohaDates %] [% IF hold.expirationdate %] [% hold.expirationdate | $KohaDates %] [% ELSE %] [% END %] [% IF hold.waitingdate %] [% hold.waitingdate | $KohaDates %] [% ELSE %] [% END %] [% IF hold.cancellationdate %] [% hold.cancellationdate | $KohaDates %] [% ELSE %] [% END %] [% IF hold.itemtype %] [% ItemTypes.GetDescription( hold.itemtype ) | html %] [% ELSE %] Any item type [% END %] [% IF hold.found == 'F' %] Fulfilled [% ELSIF hold.cancellationdate %] Cancelled [% ELSIF hold.found == 'W' %] Waiting [% ELSIF hold.found == 'T' %] In transit [% ELSE %] Pending [% END %]
[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]