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