$field";
$html .= "- $desc" if $desc;
$html .= " | ";
+ $flag = '' if ref($def) && $def->{type} eq 'disabled';
$html .=
qq!Off | ".
- qq!Default ".
- qq!Fixed ".
- ' ';
+ ' | ';
+ unless ( ref($def) && $def->{type} eq 'disabled' ) {
+ $html .=
+ qq!Default ".
+ qq!Fixed ";
+ $html .= ' ';
+ }
if ( ref($def) ) {
if ( $def->{type} eq 'select' ) {
$html .= qq!';
} elsif ( $def->{type} eq 'radius_usergroup_selector' ) {
$html .= FS::svc_acct::radius_usergroup_selector(
[ split(',', $value) ], "${layer}__${field}" );
+ } elsif ( $def->{type} eq 'disabled' ) {
+ $html .=
+ qq!!;
} else {
$html .= 'unknown type'. $def->{type};
}
@@ -212,6 +259,11 @@ my %defs = (
$html .=
qq!!;
}
+
+ if($vfields{$layer}->{$field}) {
+ $html .= qq! Excluded ";
+ }
$html .= " |
\n";
}
$part_svc->svcpart('') if $clone; #undone