summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2011-09-07 01:24:03 +0000
committerivan <ivan>2011-09-07 01:24:03 +0000
commit17b8fb9cf3cc04d58c984b643943ea34fa0ec177 (patch)
tree641497f0c23a3e72bd713e7617b9830001c7d711 /httemplate
parent53ea5a72067a9b0ebcd3417692c3884d6f91f74a (diff)
fix customer views for cc / echeck customers, RT#14257
Diffstat (limited to 'httemplate')
-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' ) {