diff options
Diffstat (limited to 'httemplate/elements/tr-select-cust-fields.html')
-rw-r--r-- | httemplate/elements/tr-select-cust-fields.html | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/httemplate/elements/tr-select-cust-fields.html b/httemplate/elements/tr-select-cust-fields.html index ca37e4276..80562fe3d 100644 --- a/httemplate/elements/tr-select-cust-fields.html +++ b/httemplate/elements/tr-select-cust-fields.html @@ -1,14 +1,15 @@ -<% - my( $cust_fields, %opt ) = @_; +% +% my( $cust_fields, %opt ) = @_; +% +% use FS::ConfDefaults; +% $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; +% +% - use FS::ConfDefaults; - $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; - -%> <TR> - <TD ALIGN="right"><%= $opt{'label'} || 'Customer fields' %></TD> + <TD ALIGN="right"><% $opt{'label'} || 'Customer fields' %></TD> <TD> - <%= include( '/elements/select-cust-fields.html', $cust_fields, %opt ) %> + <% include( '/elements/select-cust-fields.html', $cust_fields, %opt ) %> </TD> </TR> |