Lines 760-766
if( C4::Context->preference('ArticleRequests') ) {
Link Here
|
760 |
my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef; |
760 |
my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef; |
761 |
my $artreqpossible = $patron |
761 |
my $artreqpossible = $patron |
762 |
? $biblio->can_article_request( $patron ) |
762 |
? $biblio->can_article_request( $patron ) |
763 |
: Koha::ItemTypes->find($biblio->itemtype)->may_article_request; |
763 |
: my $itemtype = Koha::ItemTypes->find($biblio->itemtype) |
|
|
764 |
? $itemtype->may_article_request |
765 |
: q{}; |
764 |
$template->param( artreqpossible => $artreqpossible ); |
766 |
$template->param( artreqpossible => $artreqpossible ); |
765 |
} |
767 |
} |
766 |
|
768 |
|
767 |
- |
|
|