1 % if ( $conf->exists('old_fcc_report') ) {
3 % $m->print($cgi->redirect($fsurl . 'search/old477/report_477.html'));
6 <& /elements/header.html, 'FCC Form 477 Report' &>
7 % if ( $curuser->access_right('Edit FCC report configuration') ) {
8 <FONT SIZE="+1"><STRONG>Preparation</STRONG></FONT>
10 <LI> <A HREF="<% $p %>browse/part_pkg-fcc.html">Configure packages</A> for FCC reporting categories.</LI>
11 <LI> <A HREF="<% $p %>browse/deploy_zone.html">Enter deployment zones</A> for broadband Internet or mobile phone.</LI>
15 <FORM ACTION="477.html" METHOD="GET">
17 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
20 <TH CLASS="background" COLSPAN=2 ALIGN="left">
21 <FONT SIZE="+1">Report options</FONT>
25 <& /elements/tr-select-agent.html,
26 'curr_value' => scalar( $cgi->param('agentnum') ),
30 <& /elements/tr-input-date-field.html, {
31 'label' => 'As of date',
34 'format' => '%m/%d/%Y'
37 <& /elements/tr-checkbox-multiple.html,
38 'label' => 'Enable parts',
40 'labels' => $part_titles,
41 'options' => [ keys %$part_titles ]
44 <& /elements/tr-checkbox.html,
45 'label' => 'Ignore package quantities',
46 'field' => 'ignore_quantity',
52 <INPUT TYPE="submit" VALUE="Get Report">
56 <& /elements/footer.html &>
59 my $curuser = $FS::CurrentUser::CurrentUser;
61 unless $curuser->access_right('List packages');
63 my $conf = FS::Conf->new;
65 my $part_titles = FS::Report::FCC_477->parts;