projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
welcome to the new world
[freeside.git]
/
httemplate
/
edit
/
rate_region.cgi
diff --git
a/httemplate/edit/rate_region.cgi
b/httemplate/edit/rate_region.cgi
index
04f285f
..
c58fc80
100644
(file)
--- a/
httemplate/edit/rate_region.cgi
+++ b/
httemplate/edit/rate_region.cgi
@@
-132,13
+132,7
@@
my $action = $rate_region->regionnum ? 'Edit' : 'Add';
my $p1 = popurl(1);
my $p1 = popurl(1);
-tie my %granularity, 'Tie::IxHash',
- '1', => '1 second',
- '6' => '6 second',
- '30' => '30 second', # '1/2 minute',
- '60' => 'minute',
- '0' => 'call',
-;
+tie my %granularity, 'Tie::IxHash', FS::rate_detail::granularities();
my @rate_prefix = $rate_region->rate_prefix;
my $countrycode = '';
my @rate_prefix = $rate_region->rate_prefix;
my $countrycode = '';