[% USE raw %] [% USE Asset %] [% USE Branches %] [% USE Koha %] [% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] Koha › ILL requests › [% INCLUDE 'doc-head-close.inc' %] [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] [% Asset.css("css/datatables.css") | $raw %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
[% IF !backends_available %]
ILL module configuration problem. Take a look at the about page
[% ELSE %] [% INCLUDE 'ill-toolbar.inc' %] [% IF whole.error %]

Error performing operation

We encountered an error:

[% whole.message | html %] ([% whole.status | html %])

[% END %] [% IF query_type == 'create' %]

New ILL request

[% PROCESS $whole.template %] [% ELSIF query_type == 'confirm' %]

Confirm ILL request

[% PROCESS $whole.template %] [% ELSIF query_type == 'cancel' and !whole.error %]

Cancel a confirmed request

[% PROCESS $whole.template %] [% ELSIF query_type == 'generic_confirm' %]

Place request with partner libraries

[% IF error %] [% IF error == 'no_target_email' %]
No target email addresses found. Either select at least one partner or check your ILL partner library records.
[% ELSIF error == 'no_library_email' %]
Your library has no usable email address. Please set it.
[% ELSIF error == 'unkown_error' %]
Unknown error processing your request. Contact your administrator.
[% END %] [% END %] [% IF whole.value.partners %] [% ill_url = "/cgi-bin/koha/ill/ill-requests.pl?method=illview&illrequest_id=" _ request.illrequest_id %]
Interlibrary loan request details
Cancel
[% ELSE %]
Interlibrary loan request details

No partners have been defined yet. Please create appropriate patron records (by default ILLLIBS category).

Be sure to provide email addresses for these patrons.

Cancel

[% END %] [% ELSIF query_type == 'edit_action' %]
Request details
  1. [% request.borrowernumber | html %]
  2. [% stat = request.status | html %] [% request.capabilities.$stat.name | html %]
  3. [% request.updated | $KohaDates with_hours => 1 | html %]
  4. [% request.medium | html %]
  5. [% IF request.cost %][% request.cost | html %][% ELSE %]N/A[% END %]
  6. [% request.id_prefix _ request.illrequest_id | html %]
Cancel
[% ELSIF query_type == 'delete_confirm' %]

Are you sure you wish to delete this request?

No, do not delete
[% ELSIF query_type == 'illview' %] [% req_status = request.status %]

Manage ILL request

Edit request [% FOREACH action IN request.available_actions %] [% IF action.method != 0 %] [% action.ui_method_name | html %] [% END %] [% END %] Display supplier metadata

Request details

Details from library

Order ID: [% IF request.orderid %][% request.orderid | html %][% ELSE %]N/A[% END %]
Patron: [% borrowerlink = "/cgi-bin/koha/members/moremember.pl" _ "?borrowernumber=" _ request.patron.borrowernumber %] [% request.patron.firstname _ " " _ request.patron.surname _ " [" _ request.patron.cardnumber _ "]" | html %]
Bibliographic record ID: [% IF request.biblio_id %][% request.biblio_id | html %][% ELSE %]N/A[% END %]
Library: [% Branches.GetName(request.branchcode) | html %]
Status: [% request.capabilities.$req_status.name | html %]
Last updated: [% request.updated | $KohaDates with_hours => 1 | html %]
Request type: [% request.medium | html %]
Cost: [% IF request.cost %][% request.cost | html %][% ELSE %]N/A[% END %]
Price paid: [% IF request.price_paid %][% request.price_paid | html %][% ELSE %]N/A[% END %]
Request number: [% request.id_prefix _ request.illrequest_id | html %]
Staff notes:
[% request.notesstaff | html %]
Notes:
[% request.notesopac | html %]

Details from supplier ([% request.backend | html %])

[% FOREACH meta IN request.metadata %]
[% meta.key | html %]: [% meta.value | html %]
[% END %]
[% ELSIF query_type == 'illlist' %]

View ILL requests

Details for all requests

Author Title Patron Bibliographic record ID Library Status Updated on Request number
[% ELSE %] [% PROCESS $whole.template %] [% END %] [% END %]
[% TRY %] [% PROCESS backend_jsinclude %] [% CATCH %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]