projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upgrade part_pkg before cust_credit
[freeside.git]
/
httemplate
/
edit
/
rate_region.cgi
diff --git
a/httemplate/edit/rate_region.cgi
b/httemplate/edit/rate_region.cgi
index
9dfcb37
..
c58fc80
100644
(file)
--- a/
httemplate/edit/rate_region.cgi
+++ b/
httemplate/edit/rate_region.cgi
@@
-49,10
+49,10
@@
Rate plan
</TH>
<TH CLASS="grid" BGCOLOR="#cccccc">
Rate plan
</TH>
<TH CLASS="grid" BGCOLOR="#cccccc">
- <FONT SIZE=-1>Included<BR>minutes</FONT>
+ <FONT SIZE=-1>Included<BR>minutes
/calls
</FONT>
</TH>
<TH CLASS="grid" BGCOLOR="#cccccc">
</TH>
<TH CLASS="grid" BGCOLOR="#cccccc">
- <FONT SIZE=-1>Charge per<BR>minute</FONT>
+ <FONT SIZE=-1>Charge per<BR>minute
/call
</FONT>
</TH>
<TH CLASS="grid" BGCOLOR="#cccccc">
<FONT SIZE=-1>Granularity</FONT>
</TH>
<TH CLASS="grid" BGCOLOR="#cccccc">
<FONT SIZE=-1>Granularity</FONT>
@@
-81,11
+81,11
@@
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
- <INPUT TYPE="text" SIZE=
5
NAME="min_included<%$n%>" VALUE="<% $cgi->param("min_included$n") || $rate_detail->min_included |h %>">
+ <INPUT TYPE="text" SIZE=
9
NAME="min_included<%$n%>" VALUE="<% $cgi->param("min_included$n") || $rate_detail->min_included |h %>">
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
- $<INPUT TYPE="text" SIZE=
4
NAME="min_charge<%$n%>" VALUE="<% sprintf('%.2f', $cgi->param("min_charge$n") || $rate_detail->min_charge ) %>">
+ $<INPUT TYPE="text" SIZE=
6
NAME="min_charge<%$n%>" VALUE="<% sprintf('%.2f', $cgi->param("min_charge$n") || $rate_detail->min_charge ) %>">
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
</TD>
<TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
@@
-132,12
+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',
-;
+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 = '';