X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust-fields.html;h=80562fe3d7fb9600b04a53c425a34e76ede14aa2;hp=ca37e42762cc87b7707726c6094bd292e9c0b022;hb=3ce7691203a7737406bf2d4442f7fd84b81f847e;hpb=15e561850b61b10a92a46d8f3e316d53d4970087 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() ]; - -%> - <%= $opt{'label'} || 'Customer fields' %> + <% $opt{'label'} || 'Customer fields' %> - <%= include( '/elements/select-cust-fields.html', $cust_fields, %opt ) %> + <% include( '/elements/select-cust-fields.html', $cust_fields, %opt ) %>