Hide the payment/writeoff dropdown on lines that are credits (or forgiven).

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Ryan Higgins 2008-07-23 20:02:46 -05:00 committed by Joshua Ferraro
parent eeef609466
commit dd8bc50768
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ if ( $check == 0 ) {
$line{title} = $accts->[$i]{'title'};
$line{notify_id} = $accts->[$i]{'notify_id'};
$line{notify_level} = $accts->[$i]{'notify_level'};
$line{net_balance} = 1;
$line{net_balance} = 1 if($accts->[$i]{'amountoutstanding'} > 0); # you can't pay a credit.
push( @loop_pay, \%line );
}
}