summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorjeff <jeff>2006-10-25 04:44:48 +0000
committerjeff <jeff>2006-10-25 04:44:48 +0000
commit0c2f4bccc3810426d4b9e31dca645711c32f0b63 (patch)
tree873d5be13dce5d84a55463cac0b088fe65d5823f /httemplate/elements
parent40b1272a7b98f8a3d2f5252c2997c77de4526ef1 (diff)
select multiple pkgparts on advanced package report
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/tr-selectmultiple-part_pkg.html23
1 files changed, 23 insertions, 0 deletions
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() ];
+%
+%
+
+
+<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',
+ %opt,
+ )
+ %>
+ </TD>
+</TR>