From 3d62ec9362d0b22c17a17da6197f8b2fc219a54e Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 6 Aug 2011 00:50:59 +0000 Subject: echeck options to hide routing number and add account owner name, RT#13885 --- httemplate/misc/payment.cgi | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'httemplate/misc/payment.cgi') diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index a033c1cea..447cfa3c1 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -135,7 +135,7 @@ % $stateid, $stateid_state ) % = ( '', '', '', '', '', '', '', '' ); % if ( $cust_main->payby =~ /^(CHEK|DCHK)$/ ) { -% $cust_main->paymask =~ /^([\dx]+)\@([\dx]+)$/i +% $cust_main->paymask =~ /^([\dx]+)\@([\dx]*)$/i % or die "unparsable payinfo ". $cust_main->payinfo; % ($payinfo1, $payinfo2) = ($1, $2); % $payname = $cust_main->payname; @@ -154,13 +154,17 @@ <% mt('Type') |h %> - - <% mt('ABA/Routing number') |h %> - - - (<% mt('help') |h %>) - - +% if ( $conf->exists('echeck-no_routing') ) { + +% } else { + + <% mt('ABA/Routing number') |h %> + + + (<% mt('help') |h %>) + + +% } <% mt('Bank name') |h %> -- cgit v1.2.1