[% 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
[% IF whole.stage == 'copyrightclearance' %]
[% Koha.Preference('ILLModuleCopyrightClearance') | $raw %]
Yes
No
[% ELSE %]
[% PROCESS $whole.template %]
[% END %]
[% 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 %]
[% ELSE %]
[% END %]
[% ELSIF query_type == 'edit_action' %]
[% ELSIF query_type == 'delete_confirm' %]
[% ELSIF query_type == 'illview' %]
[% actions = request.available_actions | html %]
[% capabilities = request.capabilities | html %]
[% req_status = request.status | html %]
Manage ILL request
Request details
Details from library
Order ID:
[% request.orderid || "N/A" | html %]
Biblio ID:
[% request.biblio_id || "N/A" | html %]
Library:
[% Branches.GetName(request.branchcode) | html %]
Status:
[% capabilities.$req_status.name | html %]
Last updated:
[% request.updated | $KohaDates with_hours => 1 | html %]
Request type:
[% request.medium | html %]
Cost:
[% request.cost || "N/A" | html %]
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 %]
[% FOREACH attr IN request.illrequestattributes %]
[% attr.type | html %]:
[% attr.value | html %]
[% END %]
[% ELSIF query_type == 'illlist' %]
View ILL requests
[% ELSE %]
[% INCLUDE $whole.template %]
[% END %]
[% END %]