stray closing /TABLE in the no-ticket case
[freeside.git] / httemplate / edit / svc_fiber.html
1 <& elements/svc_Common.html,
2   'table'             => 'svc_fiber',
3   'fields'            => \@fields,
4 &>
5 <%init>
6
7 die "access denied"
8   unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
9
10 my $conf = new FS::Conf;
11
12 my @fields = (
13   { field     => 'circuit_id',
14     type      => 'input-fiber_circuit',
15   },
16   { field     => 'oltnum',
17     type      => 'select-table',
18     table     => 'fiber_olt',
19     name_col  => 'description',
20     addl_from => 'LEFT JOIN olt_site USING (sitenum)',
21     order_by  => 'ORDER BY market, site, oltname',
22     hashref   => { disabled => '' },
23     disable_empty => 1,
24   },
25   { field     => 'shelf' },
26   { field     => 'card'  },
27   { field     => 'olt_port' },
28   { field     => 'ont_id'   },
29   { field     => 'ont_typenum',
30     type      => 'select-hardware_type'
31   },
32   { field     => 'ont_serial' },
33   { field     => 'ont_port' },
34   { field     => 'vlan' },
35   { field     => 'signal' },
36   { field     => 'speed_down' },
37   { field     => 'speed_up' },
38   { field     => 'ont_install', size => 50 },
39 );
40
41 </%init>