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
/
part_pkg
/
voip_tiered.pm
diff --git
a/FS/FS/part_pkg/voip_tiered.pm
b/FS/FS/part_pkg/voip_tiered.pm
index
0ad0ff6
..
d8607a6
100644
(file)
--- a/
FS/FS/part_pkg/voip_tiered.pm
+++ b/
FS/FS/part_pkg/voip_tiered.pm
@@
-196,7
+196,10
@@
sub calc_usage {
my $output_format = $self->option('output_format', 'Hush!') || 'default';
my $output_format = $self->option('output_format', 'Hush!') || 'default';
- my $formatter = FS::detail_format->new($output_format, buffer => $details);
+ my $formatter = FS::detail_format->new($output_format,
+ buffer => $details,
+ rounding => ($self->option_cacheable('rounding') || 2))
+ ;
my $charges = 0;
my $charges = 0;