diff options
author | ivan <ivan> | 2006-06-19 08:05:28 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-06-19 08:05:28 +0000 |
commit | 6b12c14cc10503d6b0783e8ef71fe44d9a9b37b6 (patch) | |
tree | f4adf16218b35f566763c8baaf4a1c41e1d81b6b /httemplate/elements/select-cust-fields.html | |
parent | a59c9cdd72fdf85d81007ba86e81479f6ec8e6e5 (diff) |
add ability to select specific package defs. and package status to package report for qis
Diffstat (limited to 'httemplate/elements/select-cust-fields.html')
-rw-r--r-- | httemplate/elements/select-cust-fields.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/httemplate/elements/select-cust-fields.html b/httemplate/elements/select-cust-fields.html new file mode 100644 index 000000000..4d47fbe40 --- /dev/null +++ b/httemplate/elements/select-cust-fields.html @@ -0,0 +1,23 @@ +<% + my( $cust_fields, %opt ) = @_; + + use FS::ConfDefaults; + $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; + + tie my %hash, 'Tie::IxHash', @{ $opt{'avail_fields'} }; + +%> + +<SELECT NAME="cust_fields"> + + <OPTION VALUE="">(configured default) + + <% + foreach my $value ( keys %hash ) { %> + + <OPTION VALUE="<%= $value %>"><%= $hash{$value} %> + + <% } %> + +</SELECT> + |