[freeside-commits] freeside/httemplate/edit/process rate_region.cgi, 1.5, 1.6
Ivan,,,
ivan at wavetail.420.am
Sun Jan 18 19:50:49 PST 2009
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv22346/httemplate/edit/process
Modified Files:
rate_region.cgi
Log Message:
10 digit prefix matching, RT#4403
Index: rate_region.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/rate_region.cgi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- rate_region.cgi 23 Aug 2008 21:59:45 -0000 1.5
+++ rate_region.cgi 19 Jan 2009 03:50:47 -0000 1.6
@@ -24,11 +24,13 @@
my @npa = split(/\s*,\s*/, $cgi->param('npa'));
$npa[0] = '' unless @npa;
my @rate_prefix = map {
- my($npa,$nxx) = split('-', $_);
+ #my($npa,$nxx) = split('-', $_);
+ s/\D//g;
new FS::rate_prefix {
'countrycode' => $countrycode,
- 'npa' => $npa,
- 'nxx' => $nxx,
+ #'npa' => $npa,
+ #'nxx' => $nxx,
+ 'npa' => $_,
}
} @npa;
More information about the freeside-commits
mailing list