diff options
author | ivan <ivan> | 2011-08-06 00:50:48 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-08-06 00:50:48 +0000 |
commit | 4e764e5f9a7b690baf95906c4455311c2560120f (patch) | |
tree | 7f9b8c5bbc4bcec634184253230bdf7d8eccdde9 /httemplate/edit | |
parent | 0d2c8c61b8c5644c7dedcffcb28210f9a0cec55d (diff) |
echeck options to hide routing number and add account owner name, RT#13885
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/cust_main/billing.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 3266c16af..f2d6271d0 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -234,10 +234,15 @@ % join('', map { qq!<OPTION VALUE="$_" !.($paytype eq $_ ? 'SELECTED' : '').">$_</OPTION>" } @FS::cust_main::paytypes). % qq!</SELECT></TD></TR>!. % -% qq!<TR><TD ALIGN="right" WIDTH="200">${r}!.emt('ABA/Routing number').qq! </TD>!. -% qq!<TD COLSPAN="3" WIDTH="408"><INPUT TYPE="text" SIZE=10 MAXLENGTH=9 NAME="CHEK_payinfo2" VALUE="!. ( $payby =~ /^(CHEK|DCHK)$/ ? $aba : '' ). qq!" SIZE=10 MAXLENGTH=9> !. -% qq!(<A HREF="javascript:void(0);" onClick="overlib( OLiframeContent('../docs/ach.html', 380, 240, 'ach_popup' ), CAPTION, 'ACH Help', STICKY, AUTOSTATUSCAP, CLOSECLICK, DRAGGABLE ); return false;">!.emt('help').qq!</A>)!. -% qq!</TD></TR>!. +% ( $conf->exists('echeck-no_routing') +% ? '<INPUT TYPE="hidden" NAME="CHEK_payinfo2" VALUE="'. +% ( $payby =~ /^(CHEK|DCHK)$/ ? $aba : '' ). '">' +% : +% qq!<TR><TD ALIGN="right" WIDTH="200">${r}!.emt('ABA/Routing number').qq! </TD>!. +% qq!<TD COLSPAN="3" WIDTH="408"><INPUT TYPE="text" SIZE=10 MAXLENGTH=9 NAME="CHEK_payinfo2" VALUE="!. ( $payby =~ /^(CHEK|DCHK)$/ ? $aba : '' ). qq!" SIZE=10 MAXLENGTH=9> !. +% qq!(<A HREF="javascript:void(0);" onClick="overlib( OLiframeContent('../docs/ach.html', 380, 240, 'ach_popup' ), CAPTION, 'ACH Help', STICKY, AUTOSTATUSCAP, CLOSECLICK, DRAGGABLE ); return false;">!.emt('help').qq!</A>)!. +% qq!</TD></TR>! +% ). % % qq!<INPUT TYPE="hidden" NAME="CHEK_exp_month" VALUE="12">!. % qq!<INPUT TYPE="hidden" NAME="CHEK_exp_year" VALUE="2037">!. |