add customer status column to customer & most other reports. also put the C in ACL...
[freeside.git] / httemplate / search / report_cust_pkg.html
1 <% include('/elements/header.html', 'Package Report' ) %>
2
3 <FORM ACTION="cust_pkg.cgi" METHOD="GET">
4 <INPUT TYPE="hidden" NAME="magic" VALUE="bill">
5
6   <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
7
8     <TR>
9       <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
10     </TR>
11     <% include( '/elements/tr-select-agent.html',
12                    $cgi->param('agentnum'),
13                )
14     %>
15     <% include( '/elements/tr-select-cust_pkg-status.html' ) %>
16     <% include( '/elements/tr-select-pkg_class.html', '',
17                    'pre_options' => [ '0' => 'all' ],
18                    'empty_label' => '(empty class)',
19                )
20     %>
21     <% include( '/elements/tr-selectmultiple-part_pkg.html' ) %> 
22
23     <TR>
24       <TD ALIGN="right" VALIGN="center">Next bill date</TD>
25       <TD>
26         <TABLE>
27           <% include( '/elements/tr-input-beginning_ending.html' ) %>
28         </TABLE>
29       </TD>
30     </TR>
31     
32     <TR>
33       <TH BGCOLOR="#e8e8e8" COLSPAN=2>&nbsp;</TH>
34     </TR>
35
36     <TR>
37       <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Display options</FONT></TH>
38     </TR>
39     <% include( '/elements/tr-select-cust-fields.html' ) %>
40     
41   </TABLE>
42
43 <BR>
44 <INPUT TYPE="submit" VALUE="Get Report">
45
46 </FORM>
47
48 <% include('/elements/footer.html') %>
49 <%init>
50
51 die "access denied"
52   unless $FS::CurrentUser::CurrentUser->access_right('List packages');
53
54 </%init>