summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-09-07 01:24:04 +0000
committerivan <ivan>2011-09-07 01:24:04 +0000
commit229b88e45a160307551f38afff07b00c64941d94 (patch)
tree7b3303c4505c697dfb3df317b34c6c75c1afd15a
parent1f29b12a16c983f4488058951510ab5785a9cf0a (diff)
fix customer views for cc / echeck customers, RT#14257
-rw-r--r--httemplate/view/cust_main/payment_history.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
index 580a30751..24988eae4 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -507,6 +507,8 @@ sub translate_payinfo {
my $payby = $object->payby;
my $payinfo = $object->payinfo;
+ my $conf = new FS::Conf;
+
if ( $payby eq 'CARD' ) {
$payinfo = $object->paymask;
} elsif ( $payby eq 'CHEK' ) {