summaryrefslogtreecommitdiff
path: root/httemplate/search/report_phone_avail.html
blob: a896a5b12cc90b301887948dac5b3d770c4f3208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<% include('/elements/header.html', 'Phone number (DID) Availability Report' ) %>

<FORM ACTION="phone_avail.html" METHOD="GET">

  <TABLE BGCOLOR="#cccccc" CELLSPACING=0>

    <TR>
      <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
    </TR>

    <% include( '/elements/tr-input-text.html',
		    'id' => 'countrycode',
		    'field' => 'countrycode',
		    'label' => 'Country Code',
		    'maxlength' => 3,
		    'size' => 3,
	      )
    %>
    
    <% include( '/elements/tr-input-text.html',
		    'id' => 'state',
		    'field' => 'state',
		    'label' => 'State',
		    'maxlength' => 2,
		    'size' => 2,
	      )
    %>
    
    <% include( '/elements/tr-input-text.html',
		    'id' => 'npa',
		    'field' => 'npa',
		    'label' => 'NPA',
		    'maxlength' => 3,
		    'size' => 3,
	      )
    %>
    
    <% include( '/elements/tr-input-text.html',
		    'id' => 'nxx',
		    'field' => 'nxx',
		    'label' => 'NXX',
		    'maxlength' => 3,
		    'size' => 3,
	      )
    %>
    
    <% include( '/elements/tr-input-text.html',
		    'id' => 'ratecenter',
		    'field' => 'ratecenter',
		    'label' => 'Rate Center',
		    'size' => 80,
	      )
    %>

    
    <% include( '/elements/tr-input-text.html',
		    'id' => 'availbatch',
		    'field' => 'availbatch',
		    'label' => 'Batch Name',
		    'size' => 80,
	      )
    %>

    <TR>
	<TD ALIGN="RIGHT">Status</TD>
	<TD>
	    <INPUT TYPE="RADIO" NAME="avail_status" value="BOTH" CHECKED>Available &amp; Unavailable
	    Numbers
	    <INPUT TYPE="RADIO" NAME="avail_status" value="AVAIL">Available Numbers Only
	    <INPUT TYPE="RADIO" NAME="avail_status" value="UNAVAIL">Unavailable Numbers Only
	</TD>
    </TR>


  </TABLE>

<BR>
<INPUT TYPE="submit" VALUE="Get Report">

</FORM>

<% include('/elements/footer.html') %>
<%init>

die "access denied"
  unless ( $FS::CurrentUser::CurrentUser->access_right('List inventory')
         );

my $conf = new FS::Conf;

</%init>