diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-10-22 04:19:53 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-10-22 04:19:53 -0700 |
commit | 2d2ba7d543ab88f52a245a8f274950f443c7c3df (patch) | |
tree | 9b19ed523b2d8bbcc62a7221cfcc8dcdabe4b99a /httemplate/elements/tr-select-cust-fields.html | |
parent | 73cc2b38c2743fd4d6f2bd0353f35ebd781f1566 (diff) |
4.x style advanced customer search
Diffstat (limited to 'httemplate/elements/tr-select-cust-fields.html')
-rw-r--r-- | httemplate/elements/tr-select-cust-fields.html | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/httemplate/elements/tr-select-cust-fields.html b/httemplate/elements/tr-select-cust-fields.html index 80562fe3d..dd8513316 100644 --- a/httemplate/elements/tr-select-cust-fields.html +++ b/httemplate/elements/tr-select-cust-fields.html @@ -1,15 +1,11 @@ -% -% my( $cust_fields, %opt ) = @_; -% -% use FS::ConfDefaults; -% $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; -% -% - - <TR> - <TD ALIGN="right"><% $opt{'label'} || 'Customer fields' %></TD> - <TD> - <% include( '/elements/select-cust-fields.html', $cust_fields, %opt ) %> - </TD> + <TH ALIGN="right"><% $opt{'label'} || mt('Customer fields') |h %></TH> + <TD><& /elements/select-cust-fields.html, $cust_fields, %opt &></TD> </TR> +<%init> + +my( $cust_fields, %opt ) = @_; + +$opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; + +</%init> |