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/process | |
parent | 4de19e4303d8d692fb772b0a332be325bab50db3 (diff) |
echeck: add optional bank branch format, RT13360
Diffstat (limited to 'httemplate/edit/process')
-rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index aa5579b2d..f62ecc2da 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -42,8 +42,11 @@ $cgi->param('payby', $payby); if ( $payby ) { if ( $payby eq 'CHEK' || $payby eq 'DCHK' ) { - $cgi->param('payinfo', - $cgi->param('payinfo1'). '@'. $cgi->param('payinfo2') ); + my $payinfo = $cgi->param('payinfo1'). '@'; + $payinfo .= $cgi->param('payinfo3').'.' + if $conf->exists('cust_main-require-bank-branch'); + $payinfo .= $cgi->param('payinfo2'); + $cgi->param('payinfo',$payinfo); } $cgi->param('paydate', $cgi->param( 'exp_month' ). '-'. $cgi->param( 'exp_year' ) ); |