[% USE Koha %] [% USE Branches %] [% USE ItemTypes %] [% USE AdditionalContents %] [% USE raw %] [% INCLUDE 'doc-head-open.inc' %] Request article › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-request-article' %] [% INCLUDE 'masthead.inc' %] [% SET disclaimer = AdditionalContents.get( location => "ArticleRequestsDisclaimerText", lang => lang, library => Branches.GetLoggedInBranchcode ) %]
[% IF !error_message && biblio.can_article_request( patron ) %]

Place article request for [% biblio.title | html %]

[% IF ( disclaimer && !action) %]
[% PROCESS koha_news_block news => disclaimer %] Accept
[% ELSE %] [% SET article_request_type = biblio.article_request_type( patron ) %] [% IF article_request_type == 'yes' %] [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFields') %] [% END %] [% IF article_request_type == 'bib_only' %] [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFieldsRecordOnly') %] [% END %] [% IF article_request_type == 'item_only' %] [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFieldsItemOnly') %] [% END %]
Place article request
  • [% IF mandatory_fields.search('title') %] [% ELSE %] [% END %]
  • [% IF mandatory_fields.search('author') %] [% ELSE %] [% END %]
  • [% IF mandatory_fields.search('volume') %] [% ELSE %] [% END %]
  • [% IF mandatory_fields.search('issue') %] [% ELSE %] [% END %]
  • [% IF mandatory_fields.search('date') %] [% ELSE %] [% END %]
  • [% IF mandatory_fields.search('pages') %] [% ELSE %] [% END %]
  • [% IF mandatory_fields.search('chapters') %] [% ELSE %] [% END %]
[% IF article_request_type != 'bib_only' %] [% FOREACH item IN biblio.items %] [% IF item.can_article_request( patron ) %] [% END %] [% END %] [% IF article_request_type != 'item_only' %] [% END %]
Select a specific item:
  Item type Barcode Home library Call number Enumeration
[% IF article_request_type == 'item_only' && !checked %] [% SET checked = 1 %] [% ELSE %] [% END %] [% ItemTypes.GetDescription( item.itype ) | html %] [% item.barcode | html %] [% Branches.GetName( item.homebranch ) | html %] [% item.itemcallnumber | html %] [% item.enumchron | html %]
Any item
[% END %]
[% END %] [% ELSIF error_message %]

[% biblio.title | html %]

[% SWITCH error_message %] [% CASE 'article_request_limit_reached' %]You reached your article requests daily limit. [% CASE 'article_request_unhandled_exception' %]An error has occurred. [% END %]
[% ELSE %]

[% biblio.title | html %]

No article requests can be made for this record.
[% END %]
[% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% END %]