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

(-)a/opac/opac-reserve.pl (-2 / +1 lines)
Lines 300-306 my $noreserves = 0; Link Here
300
my $maxoutstanding = C4::Context->preference("maxoutstanding");
300
my $maxoutstanding = C4::Context->preference("maxoutstanding");
301
$template->param( noreserve => 1 ) unless $maxoutstanding;
301
$template->param( noreserve => 1 ) unless $maxoutstanding;
302
if ( $borr->{'amountoutstanding'} && ($borr->{'amountoutstanding'} > $maxoutstanding) ) {
302
if ( $borr->{'amountoutstanding'} && ($borr->{'amountoutstanding'} > $maxoutstanding) ) {
303
    my $amount = sprintf "\$%.02f", $borr->{'amountoutstanding'};
303
    my $amount = sprintf "%.02f", $borr->{'amountoutstanding'};
304
    $template->param( message => 1 );
304
    $template->param( message => 1 );
305
    $noreserves = 1;
305
    $noreserves = 1;
306
    $template->param( too_much_oweing => $amount );
306
    $template->param( too_much_oweing => $amount );
307
- 

Return to bug 12668