X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg%2Fvoip_inbound.pm;h=052bb7f9f0b839670edb4d206ab4d5829c39471d;hb=573e68cc026cddd6e52d2f2027da388054a128d1;hp=ec95c904071f458d25f8e5dcd3e9e57196f292ce;hpb=ec02246ea0218838def2b12b0b987f71662d1761;p=freeside.git diff --git a/FS/FS/part_pkg/voip_inbound.pm b/FS/FS/part_pkg/voip_inbound.pm index ec95c9040..052bb7f9f 100644 --- a/FS/FS/part_pkg/voip_inbound.pm +++ b/FS/FS/part_pkg/voip_inbound.pm @@ -167,7 +167,7 @@ tie my %granularity, 'Tie::IxHash', FS::rate_detail::granularities(); sub price_info { my $self = shift; - my $str = $self->SUPER::price_info; + my $str = $self->SUPER::price_info(@_); $str .= " plus usage" if $str; $str; } @@ -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')