[freeside-commits] freeside/httemplate/edit/process cust_main.cgi, 1.46.2.1, 1.46.2.2
Erik Levinson
levinse at wavetail.420.am
Wed Jun 22 21:08:53 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv6700/httemplate/edit/process
Modified Files:
Tag: FREESIDE_2_1_BRANCH
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.46.2.1
retrieving revision 1.46.2.2
diff -u -w -d -r1.46.2.1 -r1.46.2.2
--- cust_main.cgi 8 Apr 2011 18:10:22 -0000 1.46.2.1
+++ cust_main.cgi 23 Jun 2011 04:08:51 -0000 1.46.2.2
@@ -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