From: ivan Date: Mon, 21 Oct 2002 15:20:36 +0000 (+0000) Subject: don't disable for all items X-Git-Tag: freeside_1_4_1beta5~24 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=aa37f4319bab2bdd152449c4fd48dfa0c5528d3a;p=freeside.git don't disable for all items --- diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index f760dcdc3..db122ba15 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -186,20 +186,20 @@ my %defs = ( $html .= "$field"; $html .= "- $desc" if $desc; $html .= ""; + $flag = '' if ref($def) && $def->{type} eq 'disabled'; + $html .= + qq!Off". + ''; + unless ( ref($def) && $def->{type} eq 'disabled' ) { + $html .= + qq!Default ". + qq!Fixed ". + '
'; + } if ( ref($def) ) { - $flag = '' if $def->{type} eq 'disabled'; - $html .= - qq!Off". - ''; - unless ( $def->{type} eq 'disabled' ) { - $html .= - qq!Default ". - qq!Fixed ". - '
'; - } if ( $def->{type} eq 'select' ) { $html .= qq!