X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-selectmultiple-part_pkg.html;h=d959a5baed054c2baa550dec7a5ba0e9f19cda86;hb=b94ed29118969c5e2b50de7d3316c98d0c29e800;hp=abf96d7260fba970bf0eccfa789598bf3b4e4ddb;hpb=0c2f4bccc3810426d4b9e31dca645711c32f0b63;p=freeside.git diff --git a/httemplate/elements/tr-selectmultiple-part_pkg.html b/httemplate/elements/tr-selectmultiple-part_pkg.html index abf96d726..d959a5bae 100644 --- a/httemplate/elements/tr-selectmultiple-part_pkg.html +++ b/httemplate/elements/tr-selectmultiple-part_pkg.html @@ -1,23 +1,19 @@ -% -% my( $cust_fields, %opt ) = @_; -% -% use FS::ConfDefaults; -% $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; -% -% - - <% $opt{'label'} || 'Packages' %> <% 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, ) %> + +<%init> + +my %opt = @_; + +