summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-cust_pkg-status.html
diff options
context:
space:
mode:
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>