X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fpayment.cgi;h=4a867d28d2ead8fdef69d1747fee198bf3bf1662;hp=447cfa3c1311f31188c5f0088e14c523e77b833c;hb=c5e31619e5a3071506cff19578e9e377753a96f4;hpb=3d62ec9362d0b22c17a17da6197f8b2fc219a54e diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index 447cfa3c1..4a867d28d 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -14,6 +14,7 @@ - + -% if ( $conf->exists('echeck-no_routing') ) { - -% } else { + + + + +% if ( $conf->exists('cust_main-require-bank-branch') ) { - + % }
<% $money_char %> $custnum, - 'cgi' => $cgi + 'amount_id' => 'amount', &> % if ( $payby eq 'CARD' ) { @@ -131,13 +132,15 @@ % } elsif ( $payby eq 'CHEK' ) { % -% my( $payinfo1, $payinfo2, $payname, $ss, $paytype, $paystate, +% my( $account, $aba, $branch, $payname, $ss, $paytype, $paystate, % $stateid, $stateid_state ) -% = ( '', '', '', '', '', '', '', '' ); +% = ( '', '', '', '', '', '', '', '', '' ); % if ( $cust_main->payby =~ /^(CHEK|DCHK)$/ ) { -% $cust_main->paymask =~ /^([\dx]+)\@([\dx]*)$/i +% $cust_main->paymask =~ /^([\dx]+)\@([\d\.x]*)$/i % or die "unparsable payinfo ". $cust_main->payinfo; -% ($payinfo1, $payinfo2) = ($1, $2); +% ($account, $aba) = ($1, $2); +% ($branch,$aba) = split('\.',$aba) +% if $conf->exists('cust_main-require-bank-branch'); % $payname = $cust_main->payname; % $ss = $cust_main->ss; % $paytype = $cust_main->getfield('paytype'); @@ -150,18 +153,22 @@
<% mt('Account number') |h %> <% mt('Type') |h %>
<% mt('ABA/Routing number') |h %> + + (<% mt('help') |h %>) +
<% mt('ABA/Routing number') |h %><% mt('Branch number') |h %> - - (<% mt('help') |h %>) +