diff options
author | ivan <ivan> | 2002-07-07 13:52:07 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-07-07 13:52:07 +0000 |
commit | f9bab439b413fa0c9a3f495da090ce1c67f6e654 (patch) | |
tree | ea5755881346660d3505c0afcfda5f30d990a819 | |
parent | 6e80f8889a13c47343d81de796f2a7ed4f036803 (diff) |
don't recalculate owed
-rwxr-xr-x | httemplate/search/cust_bill.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/search/cust_bill.cgi b/httemplate/search/cust_bill.cgi index cb358f9e9..3b6b8fad9 100755 --- a/httemplate/search/cust_bill.cgi +++ b/httemplate/search/cust_bill.cgi @@ -147,13 +147,13 @@ if ( scalar(@cust_bill) == 1 && $total == 1) { END my(%saw, $cust_bill); - my($tot_balance, $tot_amount) = (0, 0); #BOGUS +# my($tot_balance, $tot_amount) = (0, 0); #BOGUS foreach $cust_bill ( sort $sortby grep(!$saw{$_->invnum}++, @cust_bill) ) { my($invnum, $owed, $charged, $date ) = ( $cust_bill->invnum, - sprintf("%.2f", $cust_bill->owed), + sprintf("%.2f", $cust_bill->getfield('owed')), sprintf("%.2f", $cust_bill->charged), $cust_bill->_date, ); |