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