diff options
-rwxr-xr-x | httemplate/edit/part_svc.cgi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index f2073f935..36f764140 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -144,9 +144,11 @@ my %defs = ( my $columns = 3; my $count = 0; my @part_export = - grep { $layer eq FS::part_export::exporttype2svcdb($_->exporttype) } - qsearch( 'part_export', {} ); - $html .= '<BR><BR>'. table(). +# grep { $layer eq FS::part_export::exporttype2svcdb($_->exporttype) } +# qsearch( 'part_export', {} ); + map { qsearch( 'part_export', {exporttype => $_ } ) } + keys(%{FS::part_export::export_info($layer)}); + $html .= '<BR><BR>'. table(). table(). "<TR><TH COLSPAN=$columns>Exports</TH></TR><TR>"; foreach my $part_export ( @part_export ) { $html .= '<TD><INPUT TYPE="checkbox"'. |