[% USE raw %] [% USE Asset %] [% USE KohaDates %] [% USE Branches %] [% USE ItemTypes %] [% SET footerjs = 1 %] [% SET article_requests_view = 1 %] [% SET biblionumber = biblio.biblionumber %] [% INCLUDE 'doc-head-open.inc' %] Koha › Circulation › Request article [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] [% INCLUDE 'blocking_errors.inc' %]

Request article from [% INCLUDE 'biblio-title.inc' link = 1 %]

[% IF no_patrons_found %]

Patron not found

No patron with this name, please, try another

[% ELSIF patrons %]
[% FOREACH patron IN patrons %] [% END %]
Name Cardnumber Category Library Address
[% patron.surname | html %], [% patron.firstname | html %] [% patron.cardnumber | html %] [% patron.categorycode | html %] [% patron.branchcode | html %] [% patron.address | html %]
[% ELSIF !patron %]
Enter patron card number or partial name:
[% ELSE %] [% IF biblio.can_article_request( patron ) %]
Place article request from [% biblio.title | html %] for [% patron.firstname | html %] [% patron.surname | html %] ( [% patron.cardnumber | html %] )
[% SET article_request_type = biblio.article_request_type( patron ) %] [% 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 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 %]

[% ELSE %] No article requests can be made for this record. [% END %] [% END %] [% IF biblio.article_requests_current && !patron %]
Current article requests [% FOREACH ar IN biblio.article_requests_current %] [% END %]
Placed on Patron Title Author Volume Issue Date Pages Chapters Patron notes Item Status Pickup library  
[% ar.created_on | $KohaDates %] [% ar.borrower.firstname | html %] [% ar.borrower.surname | html %] [% ar.title | html %] [% ar.author | html %] [% ar.volume | html %] [% ar.issue | html %] [% ar.date | html %] [% ar.pages | html %] [% ar.chapters | html %] [% ar.patron_notes | html %] [% IF ar.item %] [% ar.item.barcode | html %] [% END %] [% IF ar.status == 'PENDING' %] Pending [% ELSIF ar.status == 'PROCESSING' %] Processing [% ELSIF ar.status == 'COMPLETED' %] Completed [% ELSIF ar.status == 'CANCELED' %] Canceled [% END %]
[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]