diff options
author | ivan <ivan> | 2006-12-14 06:00:46 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-12-14 06:00:46 +0000 |
commit | dcdf657e77ec7b46dc69e19a849a9c133123db7c (patch) | |
tree | cfbe516c1113dbe86af59ab9288eccc8c71f96ab /httemplate/view/cust_main/payment_history.html | |
parent | bd368448838fb00212fa34d70e467cf4c8e12206 (diff) |
encryption fixes from huntsberg & jayce
Diffstat (limited to 'httemplate/view/cust_main/payment_history.html')
-rw-r--r-- | httemplate/view/cust_main/payment_history.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html index 4f46ace..57d11b9 100644 --- a/httemplate/view/cust_main/payment_history.html +++ b/httemplate/view/cust_main/payment_history.html @@ -18,6 +18,7 @@ % if ( ( $payby{'CARD'} || $payby{'DCRD'} ) % && $curuser->access_right('Process payment') +% && ! $cust_main->is_encrypted($cust_main->payinfo) % ) { <% $s++ ? ' | ' : '' %> <A HREF="<% $p %>misc/payment.cgi?payby=CARD;custnum=<% $custnum %>">Process credit card payment</A> @@ -25,6 +26,7 @@ % if ( ( $payby{'CHEK'} || $payby{'DCHK'} ) % && $curuser->access_right('Process payment') +% && ! $cust_main->is_encrypted($cust_main->payinfo) % ) { <% $s++ ? ' | ' : '' %> <A HREF="<% $p %>misc/payment.cgi?payby=CHEK;custnum=<% $custnum %>">Process electronic check (ACH) payment</A> @@ -76,7 +78,7 @@ % % my $payinfo; % if ( $payby eq 'CARD' ) { -% $payinfo = $cust_pay->payinfo_masked; +% $payinfo = $cust_pay->paymask; % } elsif ( $payby eq 'CHEK' && $cust_pay->payinfo =~ /^(\d+)\@(\d+)$/ ) { % $payinfo = "ABA $2, Acct# $1"; % } else { |