[freeside-commits] freeside/httemplate/edit/process cust_main.cgi, 1.50, 1.51
Erik Levinson
levinse at wavetail.420.am
Wed Jun 22 21:08:22 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv6696/httemplate/edit/process
Modified Files:
cust_main.cgi
Log Message:
echeck: add optional bank branch format, RT13360
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_main.cgi,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -w -d -r1.50 -r1.51
--- cust_main.cgi 23 May 2011 16:25:27 -0000 1.50
+++ cust_main.cgi 23 Jun 2011 04:08:20 -0000 1.51
@@ -42,8 +42,11 @@
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' ) );
More information about the freeside-commits
mailing list