summaryrefslogtreecommitdiff
path: root/httemplate/edit/elements
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-10-23 12:03:24 -0700
committerMark Wells <mark@freeside.biz>2015-10-23 12:03:24 -0700
commit0806f9fdbf2086671c151b3bcb078dc008e96f6c (patch)
treee080f82837c48e909a6b69df31cbbf795deb2b24 /httemplate/edit/elements
parentd9085d3f37cd6e9b1bad068cfdce945053cf669f (diff)
allow a default rate detail for each CDR type, #38633
Diffstat (limited to 'httemplate/edit/elements')
-rw-r--r--httemplate/edit/elements/rate_detail.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/httemplate/edit/elements/rate_detail.html b/httemplate/edit/elements/rate_detail.html
index 7b5ec314a..32dd502ce 100644
--- a/httemplate/edit/elements/rate_detail.html
+++ b/httemplate/edit/elements/rate_detail.html
@@ -61,18 +61,18 @@ with row headers showing the region name and prefixes.
% $row++;
% }# foreach @rate_region
% if ( !$opt{regionnum} ) {
-%# global default
+% # global default for this cdrtypenum
<TR>
<TD COLSPAN=2 STYLE="padding-top: 10px">
<B>Global default</B> (for calls not matching any prefix)
</TD>
<TD STYLE="padding-top: 10px">
-% # default rate: set a null region
+% # default rate: set a null region for this cdr type
<B>
<& .detail_box,
- detail => $rate->default_detail,
+ detail => $rate->default_detail($cdrtypenum),
ratetimenum => '',
- cdrtypenum => '',
+ cdrtypenum => $cdrtypenum,
regionnum => '',
ratenum => $rate->ratenum
&>