Lines 329-335
if ( $query->param('place_reserve') ) {
Link Here
|
329 |
# |
329 |
# |
330 |
my $noreserves = 0; |
330 |
my $noreserves = 0; |
331 |
my $maxoutstanding = C4::Context->preference("maxoutstanding"); |
331 |
my $maxoutstanding = C4::Context->preference("maxoutstanding"); |
332 |
$template->param( noreserve => 1 ) unless $maxoutstanding; |
|
|
333 |
my $amountoutstanding = $patron->account->balance; |
332 |
my $amountoutstanding = $patron->account->balance; |
334 |
if ( $amountoutstanding && ($amountoutstanding > $maxoutstanding) ) { |
333 |
if ( $amountoutstanding && ($amountoutstanding > $maxoutstanding) ) { |
335 |
my $amount = sprintf "%.02f", $amountoutstanding; |
334 |
my $amount = sprintf "%.02f", $amountoutstanding; |
336 |
- |
|
|