From: jeff Date: Tue, 29 Jul 2008 20:00:33 +0000 (+0000) Subject: correct amount for new charges total on sectioned invoices X-Git-Tag: root_of_webpay_support~459 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=4b7e4fa4173af6102eeb3fc9c0461f509cd3a36e correct amount for new charges total on sectioned invoices --- diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 52692174e..c09d547cd 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -2161,8 +2161,8 @@ sub print_generic { ) ); if ( $multisection ) { - $adjust_section->{'pretotal'} = 'New charges total '. - $total->{'total_amount'}; + $adjust_section->{'pretotal'} = 'New charges total '. $other_money_char. + sprintf('%.2f', $self->charged ); }else{ push @total_items, $total; }