combine ticket notification scrips, #15353
[freeside.git] / httemplate / elements / select-part_svc.html
1 <% include( '/elements/select-table.html',
2               'table'         => 'part_svc',
3               'name_col'      => 'svc',
4               'label_showkey' => 1,
5               #N/A 'empty_label' => '(none)',
6               %opt,
7           )
8 %>
9 <%init>
10
11 my( %opt ) = @_;
12
13 $opt{'records'} = delete $opt{'part_svc'}
14   if $opt{'part_svc'};
15
16 $opt{'records'} ||= [ qsearch( 'part_svc', {} ) ]; # { disabled=>'' } )
17
18 </%init>