1 <% include('/elements/header.html', 'Virtual field definitions') %>
3 <% include('/elements/error.html') %>
5 <A HREF="<%$p2%>edit/part_virtual_field.cgi"><I>Add a new field</I></A><BR><BR>
6 % foreach $dbtable (sort { $a cmp $b } keys (%pvfs)) {
11 <TH><TD>Field name</TD><TD>Description</TD></TH>
12 % foreach my $pvf (sort {$a->name cmp $b->name} @{ $pvfs{$dbtable} }) {
17 <A HREF="<%$p2%>edit/part_virtual_field.cgi?<%$pvf->vfieldpart%>">
18 <%$pvf->name%></A></TD>
19 <TD><%$pvf->label%></TD>
26 <% include('/elements/footer.html') %>
31 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
38 foreach (qsearch('part_virtual_field', {})) {
39 push @{ $pvfs{$_->dbtable} }, $_;