correct amount for new charges total on sectioned invoices
authorjeff <jeff>
Tue, 29 Jul 2008 20:00:33 +0000 (20:00 +0000)
committerjeff <jeff>
Tue, 29 Jul 2008 20:00:33 +0000 (20:00 +0000)
FS/FS/cust_bill.pm

index 5269217..c09d547 100644 (file)
@@ -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;
     }