summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-cust_pkg-status.html
diff options
context:
space:
mode:
authorivan <ivan>2006-06-19 08:05:28 +0000
committerivan <ivan>2006-06-19 08:05:28 +0000
commit6b12c14cc10503d6b0783e8ef71fe44d9a9b37b6 (patch)
treef4adf16218b35f566763c8baaf4a1c41e1d81b6b /httemplate/elements/tr-select-cust_pkg-status.html
parenta59c9cdd72fdf85d81007ba86e81479f6ec8e6e5 (diff)
add ability to select specific package defs. and package status to package report for qis
Diffstat (limited to 'httemplate/elements/tr-select-cust_pkg-status.html')
-rw-r--r--httemplate/elements/tr-select-cust_pkg-status.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/httemplate/elements/tr-select-cust_pkg-status.html b/httemplate/elements/tr-select-cust_pkg-status.html
new file mode 100644
index 000000000..17768517d
--- /dev/null
+++ b/httemplate/elements/tr-select-cust_pkg-status.html
@@ -0,0 +1,13 @@
+<%
+ my( $status, %opt ) = @_;
+
+ $opt{'statuses'} ||= [ FS::cust_pkg->statuses() ]; # { disabled=>'' } )
+
+%>
+
+<TR>
+ <TD ALIGN="right"><%= $opt{'label'} || 'Status' %></TD>
+ <TD>
+ <%= include( '/elements/select-cust_pkg-status.html', $status, %opt ) %>
+ </TD>
+</TR>