[freeside-commits] freeside/FS/FS cust_bill.pm, 1.263.2.10, 1.263.2.11

Jeff Finucane,420,, jeff at wavetail.420.am
Sat Dec 5 15:36:28 PST 2009


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

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	cust_bill.pm 
Log Message:
holy cow! correct sense of skip usage testing

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.263.2.10
retrieving revision 1.263.2.11
diff -u -d -r1.263.2.10 -r1.263.2.11
--- cust_bill.pm	4 Dec 2009 04:40:43 -0000	1.263.2.10
+++ cust_bill.pm	5 Dec 2009 23:36:26 -0000	1.263.2.11
@@ -3881,7 +3881,7 @@
   foreach my $cust_bill_pkg ( @$cust_bill_pkg )
   {
 
-    foreach ( $s, $r, ($opt{skip_usage} ? $u : () ) ) {
+    foreach ( $s, $r, ($opt{skip_usage} ? () : $u ) ) {
       if ( $_ && !$cust_bill_pkg->hidden ) {
         $_->{amount}      = sprintf( "%.2f", $_->{amount} ),
         $_->{amount}      =~ s/^\-0\.00$/0.00/;
@@ -4053,7 +4053,7 @@
 
   }
 
-  foreach ( $s, $r, ($opt{skip_usage} ? $u : () ) ) {
+  foreach ( $s, $r, ($opt{skip_usage} ? () : $u ) ) {
     if ( $_  ) {
       $_->{amount}      = sprintf( "%.2f", $_->{amount} ),
       $_->{amount}      =~ s/^\-0\.00$/0.00/;



More information about the freeside-commits mailing list