[% USE raw %]
[% USE Asset %]
[% USE Context %]
[% USE KohaDates %]
[% USE Branches %]
[% USE ItemTypes %]
[% USE AuthorisedValues %]
[% SET footerjs = 1 %]
[% SET article_requests_view = 1 %]
[% SET biblionumber = biblio.biblionumber %]
[% INCLUDE 'doc-head-open.inc' %]
Request article › Circulation › Koha
[% INCLUDE 'doc-head-close.inc' %]
[% BLOCK cancel_modal %]
Confirm deletion
Are you sure you want to cancel this article request?
[% END %]
[% INCLUDE 'header.inc' %]
[% INCLUDE 'circ-search.inc' %]
[% INCLUDE 'blocking_errors.inc' %]
Request article from [% INCLUDE 'biblio-title.inc' link = 1 %]
[% IF error_message %]
[% SWITCH error_message %]
[% CASE 'article_request_limit_reached' %]
Patron reached daily limit.
[% CASE 'article_request_unhandled_exception' %]
An error has occurred. Check the logs.
[% END %]
[% END %]
[% IF no_patrons_found %]
Patron not found
No patron with this name, please, try another
[% ELSIF patrons %]
[% ELSIF !patron %]
[% ELSE %]
[% IF biblio.can_article_request( patron ) %]
[% ELSE %]
No article requests can be made for this record.
[% END %]
[% END %]
[% SET biblio_current_article_requests = Context.Scalar( Context.Scalar( biblio, 'article_requests' ), 'filter_by_current' ) %]
[% IF biblio_current_article_requests.count > 0 && !patron %]
[% PROCESS cancel_modal %]
[% END %]
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'datatables.inc' %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]