diff options
Diffstat (limited to 'httemplate/elements/select-cust_pkg-status.html')
-rw-r--r-- | httemplate/elements/select-cust_pkg-status.html | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/httemplate/elements/select-cust_pkg-status.html b/httemplate/elements/select-cust_pkg-status.html deleted file mode 100644 index 2d545c047..000000000 --- a/httemplate/elements/select-cust_pkg-status.html +++ /dev/null @@ -1,30 +0,0 @@ -<SELECT NAME="<% $opt{'field'} || 'status' %>" - <% $opt{'multiple'} ? 'MULTIPLE' : '' %> - <% $onchange %> -> - - <OPTION VALUE="">all - -% foreach my $option ( @{ $opt{'statuses'} } ) { - - <OPTION VALUE="<% $option %>" - <% $option eq $curr_value ? 'SELECTED' : '' %> - ><% $option %> - -% } - -</SELECT> - -<%init> - -my %opt = @_; - -$opt{'statuses'} ||= [ FS::cust_pkg->statuses() ]; # { disabled=>'' } ) - -my $onchange = $opt{'onchange'} - ? 'onChange="'. $opt{'onchange'}. '(this)"' - : ''; - -my $curr_value = $opt{'curr_value'} || $opt{'value'}; - -</%init> |