[% 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 %] ([% whole.status %])
[% END %]
[% IF query_type == 'create' %]
New ILL request
[% IF whole.stage == 'copyrightclearance' %]
[% Koha.Preference('ILLModuleCopyrightClearance') %]
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 = here_link _ "?method=illview&illrequest_id=" _ request.illrequest_id %]
[% 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
Patron ID:
Biblio ID:
Library:
[% FOREACH branch IN branches %]
[% IF ( branch.branchcode == request.branchcode ) %]
[% branch.branchname %]
[% ELSE %]
[% branch.branchname %]
[% END %]
[% END %]
Status:
[% stat = request.status %]
[% request.capabilities.$stat.name %]
Last updated:
[% request.updated | $KohaDates with_hours => 1 %]
Request type:
[% request.medium %]
Cost:
[% request.cost || 'N/A' %]
Request number:
[% request.id_prefix _ request.illrequest_id %]
Staff notes:
[% request.notesstaff %]
Opac notes:
[% request.notesopac %]
Cancel
[% ELSIF query_type == 'delete_confirm' %]
Are you sure you wish to delete this request?
Yes
No
[% ELSIF query_type == 'illview' %]
[% actions = request.available_actions %]
[% capabilities = request.capabilities %]
[% req_status = request.status %]
Manage ILL request
Request details
Details from library
Order ID:
[% request.orderid || "N/A" %]
Biblio ID:
[% request.biblio_id || "N/A" %]
Library:
[% Branches.GetName(request.branchcode) %]
Status:
[% capabilities.$req_status.name %]
Last updated:
[% request.updated | $KohaDates with_hours => 1 %]
Request type:
[% request.medium %]
Cost:
[% request.cost || "N/A" %]
Request number:
[% request.id_prefix _ request.illrequest_id %]
Staff notes:
[% request.notesstaff %]
Notes:
[% request.notesopac %]
Details from supplier ([% request.backend %])
[% FOREACH meta IN request.metadata %]
[% meta.key %]:
[% meta.value %]
[% END %]
[% FOREACH attr IN request.illrequestattributes %]
[% attr.type %]:
[% attr.value %]
[% END %]
[% ELSIF query_type == 'illlist' %]
View ILL requests
Details for all requests
Toggle additional columns:
[% ELSE %]
[% INCLUDE $whole.template %]
[% END %]
[% END %]