X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust-fields.html;h=80562fe3d7fb9600b04a53c425a34e76ede14aa2;hb=3fc0a546caf38b444b63744726c5080ce5d9bbbb;hp=ca37e42762cc87b7707726c6094bd292e9c0b022;hpb=6b12c14cc10503d6b0783e8ef71fe44d9a9b37b6;p=freeside.git 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 ) %>