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 From d48a1dfe73f6296ebcc296574b164f33440ed1c7 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 25 Oct 2006 04:51:29 +0000 Subject: heh --- httemplate/elements/tr-selectmultiple-part_pkg.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (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 index abf96d726..bd96d1c3a 100644 --- a/httemplate/elements/tr-selectmultiple-part_pkg.html +++ b/httemplate/elements/tr-selectmultiple-part_pkg.html @@ -1,9 +1,5 @@ % -% my( $cust_fields, %opt ) = @_; -% -% use FS::ConfDefaults; -% $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; -% +% my( %opt ) = @_; % -- cgit v1.2.1