combine ticket notification scrips, #15353
[freeside.git] / httemplate / elements / tr-selectmultiple-part_pkg.html
index abf96d7..d959a5b 100644 (file)
@@ -1,23 +1,19 @@
-%
-%  my( $cust_fields, %opt ) = @_;
-%
-%  use FS::ConfDefaults;
-%  $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ];
-%
-%
-
-
 <TR>
   <TD ALIGN="right"><% $opt{'label'} || 'Packages' %></TD>
   <TD>
     <% include( '/elements/select-table.html',
-                  'table'     => 'part_pkg',
-                 'name_col'  => 'pkg',
-                 'value'     => '',
-                 'empty_label' => '(none)',
-                 'element_etc' => 'multiple',
+                  'table'         => 'part_pkg',
+                 'name_col'      => 'pkg',
+                 'disable_empty' => 1,
+                 'element_etc'   => 'multiple',
                  %opt,
               )
     %>
   </TD>
 </TR>
+
+<%init>
+
+my %opt = @_;
+
+</%init>