projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d32d081
)
holy cow! correct sense of skip usage testing
author
jeff
<jeff>
Fri, 4 Dec 2009 18:37:40 +0000
(18:37 +0000)
committer
jeff
<jeff>
Fri, 4 Dec 2009 18:37:40 +0000
(18:37 +0000)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
cec7935
..
c30ee14
100644
(file)
--- 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 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/;
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/;
if ( $_ ) {
$_->{amount} = sprintf( "%.2f", $_->{amount} ),
$_->{amount} =~ s/^\-0\.00$/0.00/;