projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
FS
/
FS
/
detail_format
/
sum_count.pm
diff --git
a/FS/FS/detail_format/sum_count.pm
b/FS/FS/detail_format/sum_count.pm
index
5cf87c7
..
c40fcb8
100644
(file)
--- a/
FS/FS/detail_format/sum_count.pm
+++ b/
FS/FS/detail_format/sum_count.pm
@@
-31,7
+31,8
@@
sub append {
my $subtotal = ($svcnums->{$svcnum} ||=
{ count => 0, duration => 0, amount => 0 });
$subtotal->{count}++;
- $subtotal->{amount} += $object->rated_price;
+ $subtotal->{amount} += $object->rated_price
+ if $object->freesidestatus ne 'no-charge';
}
}