|
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 |
- |
|
|