1 2 3 4 5 6 7 8 9 10 11
<TR> <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>