% if ( scalar(@{ $opt{'part_svc'} }) == 0 ) {
% } else {
<% $opt{'label'} || 'Service definition' %> |
<% include( '/elements/select-part_svc.html',
'multiple' => 1,
%opt,
)
%>
|
% }
<%init>
my( %opt ) = @_;
my %hash = ();
$hash{'svcdb'} = $opt{'svcdb'} if $opt{'svcdb'};
$opt{'part_svc'} ||= [ qsearch( 'part_svc', \%hash ) ]; # { disabled=>'' } )
%init>