summaryrefslogtreecommitdiff
path: root/FS/FS/part_pkg/voip_inbound.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-01-30 13:16:14 -0800
committerMark Wells <mark@freeside.biz>2014-01-30 13:16:14 -0800
commit573e68cc026cddd6e52d2f2027da388054a128d1 (patch)
tree270996f6a538e7a225430729938012829d3b4178 /FS/FS/part_pkg/voip_inbound.pm
parent82380ef8cb6e506f63dd4a8d1abf89cb079ae6cc (diff)
localize CDR column headings, #27276
Diffstat (limited to 'FS/FS/part_pkg/voip_inbound.pm')
-rw-r--r--FS/FS/part_pkg/voip_inbound.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/FS/FS/part_pkg/voip_inbound.pm b/FS/FS/part_pkg/voip_inbound.pm
index 1566c18fe..052bb7f9f 100644
--- a/FS/FS/part_pkg/voip_inbound.pm
+++ b/FS/FS/part_pkg/voip_inbound.pm
@@ -218,7 +218,11 @@ sub calc_usage {
my $output_format = $self->option('output_format', 1) || 'default';
my $formatter =
- FS::detail_format->new($output_format, buffer => $details, inbound => 1);
+ FS::detail_format->new($output_format,
+ buffer => $details,
+ inbound => 1,
+ locale => $cust_pkg->cust_main->locale
+ );
my $granularity = length($self->option('sec_granularity'))
? $self->option('sec_granularity')