X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fpayment.cgi;h=447cfa3c1311f31188c5f0088e14c523e77b833c;hp=a033c1cea59e363d427aae308aae4b0bccb0fe86;hb=3d62ec9362d0b22c17a17da6197f8b2fc219a54e;hpb=17e269dff1e784069ab2161a3feb4676b781845f 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 %>