summaryrefslogtreecommitdiff
path: root/FS/FS/detail_format.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-06-27 16:39:23 -0700
committerMark Wells <mark@freeside.biz>2016-06-27 16:39:35 -0700
commit2164bf38a61edc4fd84240214a41549847751e40 (patch)
treece0bc077dfd6d8796619c093a114c92a46a045bb /FS/FS/detail_format.pm
parentdab2632c3799d37ef575ccc186f45bc81a734b0d (diff)
localize CDR column headings during rendering, #71331
Diffstat (limited to 'FS/FS/detail_format.pm')
-rw-r--r--FS/FS/detail_format.pm7
1 files changed, 2 insertions, 5 deletions
diff --git a/FS/FS/detail_format.pm b/FS/FS/detail_format.pm
index be84680..d032100 100644
--- a/FS/FS/detail_format.pm
+++ b/FS/FS/detail_format.pm
@@ -168,7 +168,7 @@ sub header {
my $self = shift;
FS::cust_bill_pkg_detail->new(
- { 'format' => 'C', 'detail' => $self->mt($self->header_detail) }
+ { 'format' => 'C', 'detail' => $self->header_detail }
)
}
@@ -270,10 +270,7 @@ sub time2str_local {
$self->{_dh}->time2str(@_);
}
-sub mt {
- my $self = shift;
- $self->{_lh}->maketext(@_);
-}
+# header strings are now localized in FS::TemplateItem_Mixin::detail
#imitate previous behavior for now