summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_svc.cgi
diff options
context:
space:
mode:
authorlevinse <levinse>2011-07-22 18:59:27 +0000
committerlevinse <levinse>2011-07-22 18:59:27 +0000
commitc405e80203f323a83b447d6fc899dbba32d52f2a (patch)
treeaa7cc7ad31c43eb012ad3d9b787ee0a51bb6b4ac /httemplate/edit/part_svc.cgi
parent99e8e2006117bd4b97ebb1daf897cc257265dc3f (diff)
custom fields, RT11714
Diffstat (limited to 'httemplate/edit/part_svc.cgi')
-rwxr-xr-xhttemplate/edit/part_svc.cgi13
1 files changed, 0 insertions, 13 deletions
diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi
index 8ca019649..964e08821 100755
--- a/httemplate/edit/part_svc.cgi
+++ b/httemplate/edit/part_svc.cgi
@@ -15,20 +15,7 @@ Service <INPUT TYPE="text" NAME="svc" VALUE="<% $hashref->{svc} %>"><BR>
<BR>
-
-% #YUCK. false laziness w/part_svc.pm. go away virtual fields, please
% my %vfields;
-% foreach my $svcdb ( FS::part_svc->svc_tables() ) {
-% eval "use FS::$svcdb;";
-% my $self = "FS::$svcdb"->new;
-% $vfields{$svcdb} = {};
-% foreach my $field ($self->virtual_fields) { # svc_Common::virtual_fields with a null svcpart returns all of them
-% my $pvf = $self->pvf($field);
-% $vfields{$svcdb}->{$field} = $pvf;
-% #warn "\$vfields{$svcdb}->{$field} = $pvf";
-% } #next $field
-% } #next $svcdb
-%
% #code duplication w/ edit/part_svc.cgi, should move this hash to part_svc.pm
% # and generalize the subs
% # condition sub is tested to see whether to disable display of this choice