@@ -, +, @@ - Check an item out to a patron - At the OPAC loggin as this patron --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++++ opac/opac-user.pl | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -242,6 +242,10 @@ [% END %] [% END %] + [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %] + Cover image + [% END %] + [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] [% END %] --- a/opac/opac-user.pl +++ a/opac/opac-user.pl @@ -33,6 +33,7 @@ use C4::Biblio; use C4::Items; use C4::Letters; use Koha::Account::Lines; +use Koha::Biblios; use Koha::Libraries; use Koha::DateUtils; use Koha::Holds; @@ -248,6 +249,8 @@ if ( $pending_checkouts->count ) { # Useless test $issue->{'imageurl'} = getitemtypeimagelocation( 'opac', $itemtypes->{$itemtype}->{'imageurl'} ); $issue->{'description'} = $itemtypes->{$itemtype}->{'description'}; } + + $issue->{biblio_object} = Koha::Biblios->find($issue->{biblionumber}); push @issuedat, $issue; $count++; @@ -309,7 +312,9 @@ if (C4::Context->preference('BakerTaylorEnabled')) { if (C4::Context->preference("OPACAmazonCoverImages") or C4::Context->preference("GoogleJackets") or C4::Context->preference("BakerTaylorEnabled") or - C4::Context->preference("SyndeticsCoverImages")) { + C4::Context->preference("SyndeticsCoverImages") or + ( C4::Context->preference('OPACCustomCoverImages') and C4::Context->preference('CustomCoverImagesURL') ) +) { $template->param(JacketImages=>1); } --