[% USE raw %] [% USE Koha %] [% USE KohaDates %] [% USE Branches %] [% INCLUDE 'doc-head-open.inc' %] Your interlibrary loan requests › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-illrequests' bodyclass='scrollto' %] [% BLOCK messages %] [% IF message == "1" %] [% ELSIF message == "2" %] [% END %] [% END %] [% INCLUDE 'masthead.inc' %]
[% IF ( OpacNav||loggedinusername ) && !print %]
[% END %] [% IF ( OpacNav||loggedinusername ) %]
[% ELSE %]
[% END %] [% IF !backends_available %]
ILL module configuration problem. Contact your administrator.
[% ELSE %]
[% IF method == 'create' %]

New interlibrary loan request

[% IF stage == 'copyrightclearance' %] [% INCLUDE messages %]

[% Koha.Preference('ILLModuleCopyrightClearance') | $raw %]

[% USE link_url = url('/cgi-bin/koha/opac-illrequests.pl', whole.value.other) %] Yes No
[% ELSE %] [% INCLUDE messages %] [% IF backends %]
Backends
[% ELSE %] [% PROCESS $whole.opac_template %] [% END %] [% END # /IF stage == 'copyrightclearance' %] [% ELSIF method == 'list' %]

Interlibrary loan requests

[% INCLUDE messages %] [% FOREACH request IN requests %] [% status = request.status | html %] [% type = request.get_type %] [% END %]
Requests
Request ID Author Title Requested from Request type Status Request placed Last updated
[% request.id | html %] [% IF request.metadata.Author %][% request.metadata.Author | html %][% ELSE %]N/A[% END %] [% IF request.metadata.Title %][% request.metadata.Title | html %][% ELSE %]N/A[% END %] [% request.backend | html %] [% IF type %][% type | html %][% ELSE %]N/A[% END %] [% request.status_alias ? request.statusalias.lib_opac : request.capabilities.$status.name | html %] [% request.placed | $KohaDates %] [% request.updated | $KohaDates %] View
[% ELSIF method == 'view' %]

View interlibrary loan request

[% INCLUDE messages %] [% status = request.status %]
Details from library
    [% type = request.get_type %]
  1. [% request.id | html %]
  2. [% request.backend | html %]
  3. [% IF request.biblio_id %]
  4. View the requested item
  5. [% END %]
  6. [% Branches.GetName(request.branchcode) | html %]
  7. [% request.status_alias ? request.statusalias.lib_opac : request.capabilities.$status.name | html %]
  8. [% IF type %][% type | html %][% ELSE %]N/A[% END %]
  9. [% request.placed | $KohaDates %]
  10. [% request.updated | $KohaDates %]
  11. [% IF !request.completed %] [% ELSE %] [% request.notesopac | html %] [% END %]
Details from [% request.backend | html %] [% FOREACH meta IN request.metadata %]
[% meta.key | html %]: [% IF meta.value %][% meta.value | html %][% ELSE %]N/A[% END %]
[% END %]
[% IF !request.completed %] [% IF request.status == "NEW" %] Request cancellation [% END %] [% END %] Cancel
[% ELSIF method == 'availability' %]

Interlibrary loan item availability

Displaying availability results

[% FOREACH key IN whole.keys %] [% value = whole.$key %] [% IF key != 'custom_key' && key != 'custom_value' %] [% END %] [% END %] [% custom_keys = whole.custom_key.split('\0') %] [% custom_values = whole.custom_value.split('\0') %] [% i = 0 %] [% FOREACH custom_key IN custom_keys %] [% i = i + 1 %] [% END %]
If you can't find what you are looking for, you can or cancel your request
[% FOR service IN services %]

[% service.name | html %]

[% INCLUDE 'ill-availability-table.inc' service=service %] [% END %]
[% END # / IF method == 'create' %]
[% END # /IF !backends_available %]
[% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% INCLUDE 'datatables.inc' %] [% IF method == 'availability' %] [% Asset.js("js/ill-availability.js") | $raw %] [% END %] [% TRY %] [% PROCESS backend_jsinclude %] [% CATCH %] [% END %] [% END %]