[% IF query_type == 'illlist' %]
[% ELSE %]
[% END %]
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'datatables.inc' %]
[% INCLUDE 'columns_settings.inc' %]
[% INCLUDE 'calendar.inc' %]
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
[% IF query_type == 'illlist' %]
[% INCLUDE 'ill-list-table-strings.inc' %]
[% Asset.js("js/ill-list-table.js") | $raw %]
[% END %]
[% END %]
[% TRY %]
[% PROCESS backend_jsinclude %]
[% CATCH %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]
[% IF !backends_available || !has_branch %]
[% ELSIF query_type == 'illview' %]
[% req_status = request.status %]
[% IF error %]
[% IF error == 'migrate_target' %]
[% ELSIF query_type == 'illlist' %]
[% ELSE %]
[% PROCESS $whole.template %]
[% END %]
[% END %]
[% 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 %]
[% ELSE %]
[% END %]
[% ELSIF query_type == 'edit_action' %]
[% ELSIF query_type == 'delete_confirm' %]
Are you sure you wish to delete this request?
No, do not delete
The backend you tried to migrate to does not yet support migrations, please try again with an alternative target.
[% END %]
[% END %]
Manage ILL request
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: [% IF request.statusalias %] [% request.statusalias.lib | html %] [% ELSE %] [% request.capabilities.$req_status.name | html%] [% IF request.requested_partners.length > 0 %] ([% request.requested_partners | html %]) [% END %] [% END %]
- Last updated: [% request.updated | $KohaDates with_hours => 1 %]
- Request type: [% type = request.get_type %] [% IF type %][% type | html %][% ELSE %]N/A[% END %]
- Cost: [% IF request.cost %][% request.cost | $Price %][% ELSE %]N/A[% END %]
- Price paid: [% IF request.price_paid %][% request.price_paid | $Price %][% 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 %]
[% request.illcomments.count | html %] comments
[% IF request.illcomments.count && request.illcomments.count > 0 %]
[% FOREACH comment IN request.illcomments %]
Comment by: [% comment.patron.firstname _ " " _ comment.patron.surname _ " [" _ comment.patron.cardnumber _ "]" | html %] [% comment.timestamp | $KohaDates with_hours => 1 %]
[% comment.comment | html %]