[freeside-commits] freeside/FS/FS cust_bill.pm,1.217,1.218

Jeff Finucane,420,, jeff at wavetail.420.am
Tue Jul 29 13:00:36 PDT 2008


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv7915

Modified Files:
	cust_bill.pm 
Log Message:
correct amount for new charges total on sectioned invoices

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.217
retrieving revision 1.218
diff -u -d -r1.217 -r1.218
--- cust_bill.pm	24 Jul 2008 16:40:31 -0000	1.217
+++ cust_bill.pm	29 Jul 2008 20:00:33 -0000	1.218
@@ -2161,8 +2161,8 @@
                )
       );
     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;
     }



More information about the freeside-commits mailing list