summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-cust-fields.html
diff options
context:
space:
mode:
authorC.J. Adams-Collier <cjac@colliertech.org>2014-09-09 13:16:21 -0700
committerC.J. Adams-Collier <cjac@colliertech.org>2014-09-09 13:16:36 -0700
commit271785973c230748a2575ba925d03f49668405bc (patch)
tree525a2e7c838b5e75d4432274f541e29eb446e218 /httemplate/elements/select-cust-fields.html
parent81d6b6bc794de95911a7e3f85a89def8be1dc496 (diff)
have expanded the AR aging summary to include other fields. Have not yet populated the fields. FS RT #27208
Diffstat (limited to 'httemplate/elements/select-cust-fields.html')
-rw-r--r--httemplate/elements/select-cust-fields.html22
1 files changed, 9 insertions, 13 deletions
diff --git a/httemplate/elements/select-cust-fields.html b/httemplate/elements/select-cust-fields.html
index 98feaf85c..5e3063877 100644
--- a/httemplate/elements/select-cust-fields.html
+++ b/httemplate/elements/select-cust-fields.html
@@ -1,22 +1,18 @@
-%
-% my( $cust_fields, %opt ) = @_;
-%
-% use FS::ConfDefaults;
-% $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ];
-%
-% tie my %hash, 'Tie::IxHash', @{ $opt{'avail_fields'} };
-%
-%
+<%init>
+ my( $cust_fields, %opt ) = @_;
+ use FS::ConfDefaults;
+ $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ];
+
+ tie my %hash, 'Tie::IxHash', @{ $opt{'avail_fields'} };
+</%init>
<SELECT NAME="cust_fields">
<OPTION VALUE="">(configured default)
-%
-% foreach my $value ( keys %hash ) {
-
- <OPTION VALUE="<% $value %>"><% $hash{$value} %>
+% foreach my $value ( keys %hash ) {
+ <OPTION VALUE="<% $value %>"><% $hash{$value} %>
% }