new 477 report: deployment info, combined browse-edit UI, #24047
[freeside.git] / httemplate / search / report_477.html
1 % if ( $conf->exists('old_fcc_report') ) {
2 %   $m->clear_buffer;
3 %   $m->print($cgi->redirect($fsurl . 'search/old477/report_477.html'));
4 %   $m->abort;
5 % }
6 <& /elements/header.html, 'FCC Form 477 Report' &>
7
8 <FORM ACTION="477.html" METHOD="GET">
9
10   <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
11
12     <TR>
13       <TH CLASS="background" COLSPAN=2 ALIGN="left">
14         <FONT SIZE="+1">Report options</FONT>
15       </TH>
16     </TR>
17
18     <& /elements/tr-select-agent.html,
19       'curr_value'    => scalar( $cgi->param('agentnum') ),
20       'disable_empty' => 0,
21     &>
22
23     <& /elements/tr-input-date-field.html, {
24         'label'         => 'As of date',
25         'name'          => 'date',
26         'value'         => '',
27         'format'        => '%m/%d/%Y'
28     } &>
29
30     <& /elements/tr-checkbox-multiple.html,
31       'label'   => 'Enable parts',
32       'field'   => 'parts',
33       'labels'  => {
34         fixed_broadband => 'Fixed Broadband Subscription',
35         #7   => 'Part 7 (Mobile Wireless Broadband Subscription),
36         #8   => 'Part 8 (Mobile Local Telephone Subscription),
37         fixed_voice     => 'Voice Telephone Subscription',
38         local_phone     => 'Local Exchange Telephone Subscription',
39         voip            => 'Interconnected VoIP Subscription',
40       },
41       options => [ 6, 9, 10, 11 ],
42     &>
43   </TABLE>
44
45   <BR>
46   <INPUT TYPE="submit" VALUE="Get Report">
47
48 </FORM>
49
50 <& /elements/footer.html &>
51 <%init>
52
53 die "access denied"
54   unless $FS::CurrentUser::CurrentUser->access_right('List packages');
55
56 my $conf = FS::Conf->new;
57 </%init>