X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmenu.html;h=c6aa15cd05bfe426907bef4ade77012cdc01bece;hp=7c7303bc9ab3faceb4acbc4d585c2b7a4adb8253;hb=ea63022518b3fb7360e64aa2bb1bb0d9d56ce9d4;hpb=cf54023e010df76e0c39ac70902877d7c4c94c6e diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html index 7c7303bc9..c6aa15cd0 100644 --- a/httemplate/view/cust_main/menu.html +++ b/httemplate/view/cust_main/menu.html @@ -396,7 +396,8 @@ my @menu = ( acl => 'Usage: RADIUS sessions', actionlabel => 'Data usage report', width => 480, - height => 245, + height => 345, + condition => sub { shift->num_usage_pkgs > 0 }, }, { label => 'View CDRs', @@ -687,7 +688,13 @@ 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='. $entry->{show}. + ';custnum='. $cust_main->custnum; + $cgi->param('show', $show); my $a = qq[