default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git] / httemplate / view / svc_fiber.cgi
1 <& elements/svc_Common.html,
2   'table'       => 'svc_fiber',
3   'fields'      => \@fields,
4   'labels'      => \%labels,
5   'edit_url'    => $fsurl.'edit/svc_fiber.html?',
6 &>
7 <%init>
8
9 my @fields = (
10   'circuit_id',
11   { field     => 'oltnum',
12     type      => 'select-table',
13     table     => 'fiber_olt',
14     name_col  => 'description',
15   },
16   'shelf',
17   'card',
18   'olt_port',
19   'ont_id',
20   'ont_description',
21   'ont_serial',
22   'ont_port',
23   'vlan',
24   'signal',
25   'speed_down',
26   'speed_up',
27   'ont_install',
28 );
29
30 my $fields = FS::svc_fiber->table_info->{'fields'};
31 my %labels = map { $_ => $fields->{$_}{'label'} } keys %$fields;
32
33 $labels{'ont_description'} = 'ONT model';
34
35 </%init>