diff options
author | ivan <ivan> | 2004-12-23 07:28:53 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-12-23 07:28:53 +0000 |
commit | 584caeef2ac90ab10fc028a7928b9ebc53e8b33a (patch) | |
tree | d1a2358251e269a43456a5ca52c4bbc6c8ce96d9 /httemplate | |
parent | 7447bd0f46bf07c5124953e4b93e0e21ebd41890 (diff) |
hide US regions for now, we don't currently need them for rating just invoice/session display and the web pages are so giant they're timing out
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/edit/rate.cgi | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi index 83a89c475..4fdc837bb 100644 --- a/httemplate/edit/rate.cgi +++ b/httemplate/edit/rate.cgi @@ -22,6 +22,13 @@ my %granularity = ( '60' => 'minute', ); +my $nous = <<END; + WHERE 0 < ( SELECT COUNT(*) FROM rate_prefix + WHERE rate_region.regionnum = rate_prefix.regionnum + AND countrycode != '1' + ) +END + %> <%= header("$action Rate plan", menubar( @@ -52,7 +59,11 @@ Rate plan </TR> <% foreach my $rate_region ( - qsearch('rate_region', {}, '', 'ORDER BY regionname' ) + qsearch( 'rate_region', + {}, + '', + "$nous ORDER BY regionname", + ) ) { my $n = $rate_region->regionnum; my $rate_detail = |