X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_svc.pm;h=a565ee45bab6af3d5a8f85bfdf8fc8ba2f1fd908;hp=49854f7ca20831afa6c5784a0b41352ad8e8c415;hb=a7a22257d456394125eed32f8261c75a7f393ec2;hpb=772656864b377bbd2ef2febd40891ef1206b5be0 diff --git a/FS/FS/part_svc.pm b/FS/FS/part_svc.pm index 49854f7ca..a565ee45b 100644 --- a/FS/FS/part_svc.pm +++ b/FS/FS/part_svc.pm @@ -707,6 +707,11 @@ sub _svc_defs { warn "skipping disabled service FS::$mod" if $DEBUG; next; } + + foreach ("FS::$mod"->virtual_fields_hash) { + $info->{'fields'}->{$_->{'name'}} = $_->{'label'}; + } + $info{$mod} = $info; # all svc_* modules are required to have h_svc_* modules for invoice