DSL status pulling, RT#13656
[freeside.git] / httemplate / view / svc_Status.html
index 4a64d47..74fd6bd 100644 (file)
@@ -4,12 +4,7 @@
        'nobr'    => 0,  #1 for no <BR><BR> after the title
      }
 &>
-% foreach my $export ( grep $_->can('export_getstatus'), $part_svc->part_export ) {
-%   my $html = '';
-%   my %hash = ();
-%   $export->export_getstatus( $svc_x, \$html, \%hash );
 <% $html %>
-% }
 <%init>
 
 $cgi->param('svcnum') =~ /^(\d+)$/ or die 'illegal svcnum';
@@ -19,6 +14,6 @@ my $cust_svc = qsearchs( 'cust_svc', { 'svcnum' => $svcnum } );
 die "Unknown svcnum" unless $cust_svc;
 my $svc_x = $cust_svc->svc_x;
 
-my $part_svc = $cust_svc->part_svc;
+my $html = $svc_x->getstatus_html;
 
 </%init>