[% USE raw %] [% USE Koha %] [% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] Your recalls history › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-recalls' bodyclass='scrollto' %] [% INCLUDE 'masthead.inc' %]
[% WRAPPER breadcrumbs %] [% WRAPPER breadcrumb_item %] [% INCLUDE 'patron-title.inc' patron = logged_in_user %] [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] Your recalls history [% END %] [% END #/ WRAPPER breadcrumbs %]

Recalls history

[% IF Koha.Preference('UseRecalls') %] [% IF RECALLS.count %]
[% FOREACH RECALL IN RECALLS %] [% END %]
Title Placed on Expires on Pickup location Status Due date  
[% RECALL.biblio.title | html %] [% FOREACH s IN RECALL.biblio.subtitle %] [% s | html %] [% END %] [% RECALL.biblio.author | html %] Recall date: [% RECALL.created_date | $KohaDates %] [% IF ( RECALL.expiration_date ) %] Expiration: [% RECALL.expiration_date | $KohaDates %] [% ELSIF ( !RECALL.completed ) %] Expiration: Never expires [% ELSE %] - [% END %] Pick up location: [% RECALL.library.branchname | html %] Status: [% IF ( RECALL.in_transit ) %] In transit to [% RECALL.library.branchname | html %] [% ELSIF ( RECALL.waiting ) %] Ready for pickup [% ELSIF ( RECALL.overdue ) %] Overdue to be returned [% ELSIF ( RECALL.expired ) %] Expired on [% RECALL.expiration_date | $KohaDates %] [% ELSIF ( RECALL.cancelled ) %] Cancelled on [% RECALL.completed_date | $KohaDates %] [% ELSIF ( RECALL.fulfilled ) %] Fulfilled [% ELSE %] Requested [% END %] Due date [% IF ( RECALL.requested ) %] Due to be returned by [% RECALL.checkout.date_due | $KohaDates as_due_date => 1 %] [% ELSIF ( RECALL.waiting and RECALL.expiration_date ) %] Pick up by [% RECALL.expiration_date | $KohaDates %] [% ELSE %] - [% END %] [% IF ( RECALL.requested or RECALL.overdue ) %]
[% INCLUDE 'csrf-token.inc' %]
[% END %]
[% ELSE %] No recalls have been made. [% END # / # RECALLS.count %] [% ELSE %] Recalls have not been enabled. Please contact your library. [% END %]
[% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% INCLUDE 'datatables.inc' %] [% END %]