From 0c2f4bccc3810426d4b9e31dca645711c32f0b63 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 25 Oct 2006 04:44:48 +0000 Subject: select multiple pkgparts on advanced package report --- .../elements/tr-selectmultiple-part_pkg.html | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 httemplate/elements/tr-selectmultiple-part_pkg.html (limited to 'httemplate/elements/tr-selectmultiple-part_pkg.html') diff --git a/httemplate/elements/tr-selectmultiple-part_pkg.html b/httemplate/elements/tr-selectmultiple-part_pkg.html new file mode 100644 index 000000000..abf96d726 --- /dev/null +++ b/httemplate/elements/tr-selectmultiple-part_pkg.html @@ -0,0 +1,23 @@ +% +% 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', + %opt, + ) + %> + + -- cgit v1.2.1