X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fselect-cust-fields.html;h=98feaf85c24505400d45490163ed9620569243c3;hp=4d47fbe402d99536ead324201e66ee52c71140b0;hb=3ce7691203a7737406bf2d4442f7fd84b81f847e;hpb=15e561850b61b10a92a46d8f3e316d53d4970087 diff --git a/httemplate/elements/select-cust-fields.html b/httemplate/elements/select-cust-fields.html index 4d47fbe40..98feaf85c 100644 --- a/httemplate/elements/select-cust-fields.html +++ b/httemplate/elements/select-cust-fields.html @@ -1,23 +1,24 @@ -<% - my( $cust_fields, %opt ) = @_; +% +% my( $cust_fields, %opt ) = @_; +% +% use FS::ConfDefaults; +% $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; +% +% tie my %hash, 'Tie::IxHash', @{ $opt{'avail_fields'} }; +% +% - use FS::ConfDefaults; - $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; - - tie my %hash, 'Tie::IxHash', @{ $opt{'avail_fields'} }; - -%>