projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
also don't neglext nxx here
[freeside.git]
/
httemplate
/
edit
/
process
/
rate_region.cgi
diff --git
a/httemplate/edit/process/rate_region.cgi
b/httemplate/edit/process/rate_region.cgi
index
3933ff3
..
d839406
100755
(executable)
--- a/
httemplate/edit/process/rate_region.cgi
+++ b/
httemplate/edit/process/rate_region.cgi
@@
-24,9
+24,11
@@
my $countrycode = $cgi->param('countrycode');
my @npa = split(/\s*,\s*/, $cgi->param('npa'));
$npa[0] = '' unless @npa;
my @rate_prefix = map {
+ my($npa,$nxx) = split('-', $_);
new FS::rate_prefix {
'countrycode' => $countrycode,
- 'npa' => $_,
+ 'npa' => $npa,
+ 'nxx' => $nxx,
}
} @npa;