prospect add/edit: order fields more like customer add/edit, hide company in resident...
[freeside.git] / httemplate / search / report_phone_avail.html
1 <% include('/elements/header.html', 'Phone number (DID) Availability Report' ) %>
2
3 <FORM ACTION="phone_avail.html" METHOD="GET">
4
5   <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
6
7     <TR>
8       <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
9     </TR>
10
11     <% include( '/elements/tr-input-text.html',
12                     'id' => 'countrycode',
13                     'field' => 'countrycode',
14                     'label' => 'Country Code',
15                     'maxlength' => 3,
16                     'size' => 3,
17               )
18     %>
19     
20     <% include( '/elements/tr-input-text.html',
21                     'id' => 'state',
22                     'field' => 'state',
23                     'label' => 'State',
24                     'maxlength' => 2,
25                     'size' => 2,
26               )
27     %>
28     
29     <% include( '/elements/tr-input-text.html',
30                     'id' => 'npa',
31                     'field' => 'npa',
32                     'label' => 'NPA',
33                     'maxlength' => 3,
34                     'size' => 3,
35               )
36     %>
37     
38     <% include( '/elements/tr-input-text.html',
39                     'id' => 'nxx',
40                     'field' => 'nxx',
41                     'label' => 'NXX',
42                     'maxlength' => 3,
43                     'size' => 3,
44               )
45     %>
46     
47     <% include( '/elements/tr-input-text.html',
48                     'id' => 'ratecenter',
49                     'field' => 'ratecenter',
50                     'label' => 'Rate Center',
51                     'size' => 80,
52               )
53     %>
54
55     
56     <% include( '/elements/tr-input-text.html',
57                     'id' => 'availbatch',
58                     'field' => 'availbatch',
59                     'label' => 'Batch Name',
60                     'size' => 80,
61               )
62     %>
63
64     <TR>
65         <TD ALIGN="RIGHT">Status</TD>
66         <TD>
67             <INPUT TYPE="RADIO" NAME="avail_status" value="BOTH" CHECKED>Available &amp; Unavailable
68             Numbers
69             <INPUT TYPE="RADIO" NAME="avail_status" value="AVAIL">Available Numbers Only
70             <INPUT TYPE="RADIO" NAME="avail_status" value="UNAVAIL">Unavailable Numbers Only
71         </TD>
72     </TR>
73
74
75   </TABLE>
76
77 <BR>
78 <INPUT TYPE="submit" VALUE="Get Report">
79
80 </FORM>
81
82 <% include('/elements/footer.html') %>
83 <%init>
84
85 die "access denied"
86   unless ( $FS::CurrentUser::CurrentUser->access_right('List inventory')
87          );
88
89 my $conf = new FS::Conf;
90
91 </%init>