summaryrefslogtreecommitdiff
path: root/httemplate/search/report_svc_fiber.html
blob: d563c53392dbb9c7f0cb5c3a8a8d61c4fdf6a792 (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
<& /elements/header.html, $title &>

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

  <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
    <TR>
      <TH CLASS="background" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
    </TR>

    <& /elements/tr-select-table.html,
      label     => 'OLT',
      table     => 'fiber_olt',
      name_col  => 'oltname',
    &>
    <& /elements/tr-input-text.html, field => 'shelf', label => 'Shelf' &>
    <& /elements/tr-input-text.html, field => 'card',  label => 'Card' &>
    <& /elements/tr-input-text.html, field => 'olt_port', label => 'Port' &>

    <& /elements/tr-td-label.html, label => 'ONT model' &>
      <TD>
      <& /elements/select-hardware_type.html,
          'empty_label' => '(all)'
       &>
      </TD>
    </TR>

    <& /elements/tr-input-text.html, field => 'ont_serial', label => 'Serial number' &>
    <& /elements/tr-input-text.html, field => 'vlan', label => 'VLAN' &>
  </TABLE>

<BR>
<INPUT TYPE="submit" VALUE="Search">

</FORM>

<& /elements/footer.html &>
<%init>

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

my $title = 'Search Fiber Services';

my @olts = qsearch('fiber_olt', {});

</%init>