477 report: mobile deployment info
[freeside.git] / httemplate / search / report_477.html
index 78ba35c..cbbd5d9 100755 (executable)
@@ -4,11 +4,13 @@
 %   $m->abort;
 % }
 <& /elements/header.html, 'FCC Form 477 Report' &>
+% if ( $curuser->access_right('Edit FCC report configuration') ) {
 <FONT SIZE="+1"><STRONG>Preparation</STRONG></FONT>
 <UL>
   <LI> <A HREF="<% $p %>browse/part_pkg-fcc.html">Configure packages</A> for FCC reporting categories.</LI>
   <LI> <A HREF="<% $p %>browse/deploy_zone.html">Enter deployment zones</A> for broadband Internet or mobile phone.</LI>
 </UL>
+% }
   
 <FORM ACTION="477.html" METHOD="GET">
 
@@ -48,8 +50,9 @@
 <& /elements/footer.html &>
 <%init>
 
+my $curuser = $FS::CurrentUser::CurrentUser;
 die "access denied"
-  unless $FS::CurrentUser::CurrentUser->access_right('List packages');
+  unless $curuser->access_right('List packages');
 
 my $conf = FS::Conf->new;