summaryrefslogtreecommitdiff
path: root/FS/FS/cust_bill.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-10-23 15:17:51 -0700
committerMark Wells <mark@freeside.biz>2013-10-23 15:17:51 -0700
commit68de99533d0612144562b0ecf8e95b3d89aa9a18 (patch)
tree0f7ba48f3f85ce195e3ac8ec0f679fb73775430c /FS/FS/cust_bill.pm
parent609c2568d272a99c659381789acce954294e41f3 (diff)
localization hook for payinfo descriptions, #24850
Diffstat (limited to 'FS/FS/cust_bill.pm')
-rw-r--r--FS/FS/cust_bill.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 66d98c257..4e34ef47b 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -3070,7 +3070,8 @@ sub _items_payments {
my $cust_pay = $obj->isa('FS::cust_pay') ? $obj : $obj->cust_pay;
my $desc = $self->mt('Payment received').' '.
time2str($date_format, $cust_pay->_date );
- $desc .= $self->mt(' via ' . $cust_pay->payby_payinfo_pretty)
+ $desc .= $self->mt(' via ') .
+ $cust_pay->payby_payinfo_pretty( $self->cust_main->locale )
if $detailed;
push @b, {