1 <% include('/elements/header.html', 'Phone number (DID) Availability Report' ) %>
3 <FORM ACTION="phone_avail.html" METHOD="GET">
5 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
8 <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
11 <% include( '/elements/tr-input-text.html',
12 'id' => 'countrycode',
13 'field' => 'countrycode',
14 'label' => 'Country Code',
20 <% include( '/elements/tr-input-text.html',
29 <% include( '/elements/tr-input-text.html',
38 <% include( '/elements/tr-input-text.html',
47 <% include( '/elements/tr-input-text.html',
49 'field' => 'ratecenter',
50 'label' => 'Rate Center',
56 <% include( '/elements/tr-input-text.html',
58 'field' => 'availbatch',
59 'label' => 'Batch Name',
65 <TD ALIGN="RIGHT">Status</TD>
67 <INPUT TYPE="RADIO" NAME="avail_status" value="BOTH" CHECKED>Available & Unavailable
69 <INPUT TYPE="RADIO" NAME="avail_status" value="AVAIL">Available Numbers Only
70 <INPUT TYPE="RADIO" NAME="avail_status" value="UNAVAIL">Unavailable Numbers Only
78 <INPUT TYPE="submit" VALUE="Get Report">
82 <% include('/elements/footer.html') %>
86 unless ( $FS::CurrentUser::CurrentUser->access_right('List inventory')
89 my $conf = new FS::Conf;