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

(-)a/opac/opac-reserve.pl (-2 / +1 lines)
Lines 306-312 if ( $query->param('place_reserve') ) { Link Here
306
my $noreserves     = 0;
306
my $noreserves     = 0;
307
my $maxoutstanding = C4::Context->preference("maxoutstanding");
307
my $maxoutstanding = C4::Context->preference("maxoutstanding");
308
$template->param( noreserve => 1 ) unless $maxoutstanding;
308
$template->param( noreserve => 1 ) unless $maxoutstanding;
309
my $amountoutstanding = GetMemberAccountRecords($borrowernumber);
309
my ( $amountoutstanding ) = GetMemberAccountRecords($borrowernumber);
310
if ( $amountoutstanding && ($amountoutstanding > $maxoutstanding) ) {
310
if ( $amountoutstanding && ($amountoutstanding > $maxoutstanding) ) {
311
    my $amount = sprintf "%.02f", $amountoutstanding;
311
    my $amount = sprintf "%.02f", $amountoutstanding;
312
    $template->param( message => 1 );
312
    $template->param( message => 1 );
313
- 

Return to bug 17578