X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Frate.cgi;h=0c425a5d1e685d02ae5943a9b7f4b9565e00dc3f;hb=0a256d5758b5826aeaf7b59ac2e0f8c97ba8b86b;hp=b20c45c0c606792cf3d8b8bbf53cca941d3ec5a9;hpb=c371f6e225cfffa667815a51571203b034e4f75c;p=freeside.git diff --git a/httemplate/browse/rate.cgi b/httemplate/browse/rate.cgi index b20c45c0c..0c425a5d1 100644 --- a/httemplate/browse/rate.cgi +++ b/httemplate/browse/rate.cgi @@ -2,34 +2,35 @@ 'title' => 'Rate plans', 'menubar' => [ 'Regions and Prefixes' => $p.'browse/rate_region.html', + 'Time Periods' => + $p.'browse/rate_time.html', + 'CDR Types' => + $p.'edit/cdr_type.cgi', ], 'html_init' => $html_init, 'name' => 'rate plans', 'query' => { 'table' => 'rate', 'hashref' => {}, - 'extra_sql' => 'ORDER BY ratenum', + 'order_by' => 'ORDER BY ratenum', }, 'count_query' => $count_query, 'header' => [ '#', 'Rate plan', 'Rates' ], 'fields' => [ 'ratenum', 'ratename', $rates_sub ], 'links' => [ $link, $link, '' ], + 'really_disable_download' => 1 ) %> <%once> -my $sth = dbh->prepare("SELECT DISTINCT(countrycode) FROM rate_prefix") - or die dbh->errstr; -$sth->execute or die $sth->errstr; -my @all_countrycodes = map $_->[0], @{ $sth->fetchall_arrayref }; my $all_countrycodes = join("\n", map qq(