& elements/edit.html,
'popup' => 1,
'table' => 'fiber_olt',
'name_singular' => 'OLT',
'labels' => \%labels,
'fields' => \@fields,
&>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
my @fields = (
'oltname',
{
field => 'sitenum',
type => 'select-table',
table => 'olt_site',
name_col => 'description',
order_by => 'ORDER BY market, site',
empty_label => ' ',
},
'serial',
{ field => 'disabled', type => 'checkbox', value => 'Y' }
);
my %labels = (
'oltnum' => '',
'oltname' => 'Name',
'sitenum' => 'Site',
'serial' => 'Serial',
'disabled' => 'Disabled',
);
%init>