invoices look like they belong under customers
[freeside.git] / httemplate / view / cust_main / menu.html
index 695336c..d12ec17 100644 (file)
@@ -396,7 +396,7 @@ my @menu = (
       acl   => 'Usage: RADIUS sessions',
       actionlabel => 'Data usage report',
       width   => 480,
-      height  => 245,
+      height  => 345,
       condition => sub { shift->num_usage_pkgs > 0 },
     },
     {
@@ -688,7 +688,11 @@ sub entry2link {
 
       # the menu head: always a link back to this page
       $cgi->param('show', $entry->{show});
-      $target = $cgi->self_url;
+
+      #$target = $cgi->self_url;
+      #XXX support installs outside /freeside in 4.x
+      $target = "/freeside/view/cust_main.cgi?show=$show;custnum=". $cust_main->custnum;
+
       $cgi->param('show', $show);
 
       my $a = qq[ <A HREF="$target"];