1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
% % 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> </TR>