projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
message templates, RT#8896
[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
861a6dc
..
8036f73
100755
(executable)
--- a/
httemplate/edit/process/rate_region.cgi
+++ b/
httemplate/edit/process/rate_region.cgi
@@
-24,11
+24,13
@@
my $countrycode = $cgi->param('countrycode');
my @npa = split(/\s*,\s*/, $cgi->param('npa'));
$npa[0] = '' unless @npa;
my @rate_prefix = map {
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,
new FS::rate_prefix {
'countrycode' => $countrycode,
- 'npa' => $npa,
- 'nxx' => $nxx,
+ #'npa' => $npa,
+ #'nxx' => $nxx,
+ 'npa' => $_,
}
} @npa;
}
} @npa;
@@
-37,7
+39,7
@@
my @dest_detail = map {
new FS::rate_detail {
'ratenum' => $ratenum,
map { $_ => $cgi->param("$_$ratenum") }
new FS::rate_detail {
'ratenum' => $ratenum,
map { $_ => $cgi->param("$_$ratenum") }
- qw( min_included min_charge sec_granularity classnum )
+ qw( min_included
conn_charge conn_sec
min_charge sec_granularity classnum )
};
} qsearch('rate', {} );
};
} qsearch('rate', {} );