diff options
author | levinse <levinse> | 2011-06-23 04:14:19 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-06-23 04:14:19 +0000 |
commit | 5cebf6d642a74554ca424397d806f9b59ac19c5c (patch) | |
tree | 76c2fa47ce845dba31d7b2e7deb15c154629844e /httemplate/edit/cust_main | |
parent | 4de19e4303d8d692fb772b0a332be325bab50db3 (diff) |
echeck: add optional bank branch format, RT13360
Diffstat (limited to 'httemplate/edit/cust_main')
-rw-r--r-- | httemplate/edit/cust_main/billing.html | 6 | ||||
-rw-r--r-- | httemplate/edit/cust_main/bottomfixup.js | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 0db2ae8a4..5e97934c1 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -126,6 +126,8 @@ % my $payby = $cust_main->payby; % my $paytype = $cust_main->paytype; % my( $account, $aba ) = split('@', $payinfo); +% my $branch = ''; +% ($branch,$aba) = split('\.',$aba) if $conf->exists('cust_main-require-bank-branch'); % % my $disabled = 'DISABLED style="background-color: #dddddd"'; % my $text_disabled = 'style="color: #999999"'; @@ -242,6 +244,10 @@ % qq!<INPUT TYPE="hidden" NAME="CHEK_exp_month" VALUE="12">!. % qq!<INPUT TYPE="hidden" NAME="CHEK_exp_year" VALUE="2037">!. % +% ( $conf->exists('cust_main-require-bank-branch') ? +% qq!<TR><TD ALIGN="right">$r Branch number</TD><TD COLSPAN="3"> +% <INPUT TYPE="text" name="CHEK_payinfo3" VALUE=$branch></TD></TR>! : '' ). +% % qq!<TR><TD ALIGN="right" WIDTH="200">${r}Bank name </TD>!. % qq!<TD COLSPAN="3" WIDTH="408"><INPUT TYPE="text" NAME="CHEK_payname" VALUE="!. ( $payby =~ /^(CHEK|DCHK)$/ ? $cust_main->payname : '' ). qq!"></TD></TR>!. % ( $conf->exists('show_bankstate') ? diff --git a/httemplate/edit/cust_main/bottomfixup.js b/httemplate/edit/cust_main/bottomfixup.js index 942fc0e66..24156f792 100644 --- a/httemplate/edit/cust_main/bottomfixup.js +++ b/httemplate/edit/cust_main/bottomfixup.js @@ -3,7 +3,7 @@ function bottomfixup(what) { %# ../cust_main.cgi var layervars = new Array( 'payauto', - 'payinfo', 'payinfo1', 'payinfo2', 'paytype', + 'payinfo', 'payinfo1', 'payinfo2', 'payinfo3', 'paytype', 'payname', 'paystate', 'exp_month', 'exp_year', 'paycvv', 'paystart_month', 'paystart_year', 'payissue', 'payip', |