diff options
author | ivan <ivan> | 2006-03-20 19:13:27 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-03-20 19:13:27 +0000 |
commit | ff24bc786a5fd479f2252260e0da580a736f97be (patch) | |
tree | 6d3496500bebd4f17f754ab79478c53dea1b5daf /httemplate/edit/rate.cgi | |
parent | 96fde39e747fdc5c618b5a92ec354384931cf317 (diff) |
add price plan to bill on internal or external CDRs directly, add option to export CDRs to a per-customer downstream file
Diffstat (limited to 'httemplate/edit/rate.cgi')
-rw-r--r-- | httemplate/edit/rate.cgi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi index f8f67f6..9aa4e72 100644 --- a/httemplate/edit/rate.cgi +++ b/httemplate/edit/rate.cgi @@ -13,7 +13,9 @@ my $action = $rate->ratenum ? 'Edit' : 'Add'; my $p1 = popurl(1); my %granularity = ( + '1', => '1 second', '6' => '6 second', + '30' => '30 second', # '1/2 minute', '60' => 'minute', ); @@ -60,9 +62,10 @@ Rate plan qsearch({ 'select' => 'DISTINCT ON ( regionnum ) rate_region.*', 'table' => 'rate_region', - 'addl_from' => 'INNER JOIN rate_prefix USING ( regionnum )', 'hashref' => {}, - 'extra_sql' => "WHERE countrycode != '1'", + #'addl_from' => 'INNER JOIN rate_prefix USING ( regionnum )', + #'extra_sql' => "WHERE countrycode != '1'", + # 'ORDER BY regionname' # ERROR: SELECT DISTINCT ON expressions must # match initial ORDER BY expressions |