From: jeff Date: Fri, 4 Dec 2009 18:37:40 +0000 (+0000) Subject: holy cow! correct sense of skip usage testing X-Git-Tag: root_of_svc_elec_features~637 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ea4a250ff6d0ed40f10fb66c64a095e83ee7bd5d holy cow! correct sense of skip usage testing --- diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index cec793539..c30ee144b 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -3881,7 +3881,7 @@ sub _items_cust_bill_pkg { 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 @@ sub _items_cust_bill_pkg { } - 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/;