Lines 178-184
$template->param(
Link Here
|
178 |
amountoutstanding => $amountoutstanding, |
178 |
amountoutstanding => $amountoutstanding, |
179 |
borrowernumber => $borrowernumber, |
179 |
borrowernumber => $borrowernumber, |
180 |
patron_flagged => $borr->{flagged}, |
180 |
patron_flagged => $borr->{flagged}, |
181 |
OPACMySummaryHTML => (C4::Context->preference("OPACMySummaryHTML")) ? 1 : 0, |
|
|
182 |
surname => $borr->{surname}, |
181 |
surname => $borr->{surname}, |
183 |
RENEW_ERROR => $renew_error, |
182 |
RENEW_ERROR => $renew_error, |
184 |
borrower => $borr, |
183 |
borrower => $borr, |
Lines 306-321
if ( $pending_checkouts->count ) { # Useless test
Link Here
|
306 |
$issue->{normalized_upc} = GetNormalizedUPC( $marcrecord, C4::Context->preference('marcflavour') ); |
305 |
$issue->{normalized_upc} = GetNormalizedUPC( $marcrecord, C4::Context->preference('marcflavour') ); |
307 |
$issue->{normalized_oclc} = GetNormalizedOCLCNumber( $marcrecord, C4::Context->preference('marcflavour') ); |
306 |
$issue->{normalized_oclc} = GetNormalizedOCLCNumber( $marcrecord, C4::Context->preference('marcflavour') ); |
308 |
} |
307 |
} |
309 |
# My Summary HTML |
|
|
310 |
if (my $my_summary_html = C4::Context->preference('OPACMySummaryHTML')){ |
311 |
$issue->{author} ? $my_summary_html =~ s/{AUTHOR}/$issue->{author}/g : $my_summary_html =~ s/{AUTHOR}//g; |
312 |
$issue->{title} =~ s/\/+$//; # remove trailing slash |
313 |
$issue->{title} =~ s/\s+$//; # remove trailing space |
314 |
$issue->{title} ? $my_summary_html =~ s/{TITLE}/$issue->{title}/g : $my_summary_html =~ s/{TITLE}//g; |
315 |
$issue->{isbn} ? $my_summary_html =~ s/{ISBN}/$isbn/g : $my_summary_html =~ s/{ISBN}//g; |
316 |
$issue->{biblionumber} ? $my_summary_html =~ s/{BIBLIONUMBER}/$issue->{biblionumber}/g : $my_summary_html =~ s/{BIBLIONUMBER}//g; |
317 |
$issue->{MySummaryHTML} = $my_summary_html; |
318 |
} |
319 |
|
308 |
|
320 |
if ( C4::Context->preference('UseRecalls') ) { |
309 |
if ( C4::Context->preference('UseRecalls') ) { |
321 |
my $maybe_recalls = Koha::Recalls->search({ biblio_id => $issue->{biblionumber}, item_id => [ undef, $issue->{itemnumber} ], completed => 0 }); |
310 |
my $maybe_recalls = Koha::Recalls->search({ biblio_id => $issue->{biblionumber}, item_id => [ undef, $issue->{itemnumber} ], completed => 0 }); |
322 |
- |
|
|