[freeside-commits] freeside/httemplate/edit/process cust_main.cgi, 1.46, 1.46.2.1
Ivan,,,
ivan at wavetail.420.am
Fri Apr 8 11:10:24 PDT 2011
- Previous message: [freeside-commits] freeside/httemplate/edit/process cust_main.cgi, 1.48, 1.49
- Next message: [freeside-commits] freeside/rt Makefile, 1.11.4.1, 1.11.4.2 Makefile.in, 1.3.4.1, 1.3.4.2 config.log, 1.3, 1.3.8.1 config.status, 1.6, 1.6.4.1 configure.ac, 1.1.1.12.4.1, 1.1.1.12.4.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv23510
Modified Files:
Tag: FREESIDE_2_1_BRANCH
cust_main.cgi
Log Message:
fix edits of customers with tokenized cards, RT#12353
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_main.cgi,v
retrieving revision 1.46
retrieving revision 1.46.2.1
diff -u -w -d -r1.46 -r1.46.2.1
--- cust_main.cgi 29 Sep 2010 00:38:08 -0000 1.46
+++ cust_main.cgi 8 Apr 2011 18:10:22 -0000 1.46.2.1
@@ -237,8 +237,14 @@
if ($new->stateid =~ /^xxx/) {
$new->stateid($old->stateid);
}
- if ($new->payby =~ /^(CARD|DCRD)$/ && $new->payinfo =~ /xx/) {
+ if ( $new->payby =~ /^(CARD|DCRD)$/
+ && ( $new->payinfo =~ /xx/
+ || $new->payinfo =~ /^\s*N\/A\s+\(tokenized\)\s*$/
+ )
+ )
+ {
$new->payinfo($old->payinfo);
+
} elsif ($new->payby =~ /^(CHEK|DCHK)$/ && $new->payinfo =~ /xx/) {
#fix for #3085 "edit of customer's routing code only surprisingly causes
#nothing to happen...
- Previous message: [freeside-commits] freeside/httemplate/edit/process cust_main.cgi, 1.48, 1.49
- Next message: [freeside-commits] freeside/rt Makefile, 1.11.4.1, 1.11.4.2 Makefile.in, 1.3.4.1, 1.3.4.2 config.log, 1.3, 1.3.8.1 config.status, 1.6, 1.6.4.1 configure.ac, 1.1.1.12.4.1, 1.1.1.12.4.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list