View | Details | Raw Unified | Return to bug 12668
Collapse All | Expand All

(-)a/opac/opac-reserve.pl (-2 / +1 lines)
Lines 288-294 my $noreserves = 0; Link Here
288
my $maxoutstanding = C4::Context->preference("maxoutstanding");
288
my $maxoutstanding = C4::Context->preference("maxoutstanding");
289
$template->param( noreserve => 1 ) unless $maxoutstanding;
289
$template->param( noreserve => 1 ) unless $maxoutstanding;
290
if ( $borr->{'amountoutstanding'} && ($borr->{'amountoutstanding'} > $maxoutstanding) ) {
290
if ( $borr->{'amountoutstanding'} && ($borr->{'amountoutstanding'} > $maxoutstanding) ) {
291
    my $amount = sprintf "\$%.02f", $borr->{'amountoutstanding'};
291
    my $amount = sprintf "%.02f", $borr->{'amountoutstanding'};
292
    $template->param( message => 1 );
292
    $template->param( message => 1 );
293
    $noreserves = 1;
293
    $noreserves = 1;
294
    $template->param( too_much_oweing => $amount );
294
    $template->param( too_much_oweing => $amount );
295
- 

Return to bug 12668