summaryrefslogtreecommitdiff
path: root/FS/FS/svc_Common.pm
diff options
context:
space:
mode:
authorivan <ivan>2011-11-11 23:59:51 +0000
committerivan <ivan>2011-11-11 23:59:51 +0000
commitbf3dbb0c455af0fdafbb0e699ed2db343ab40320 (patch)
tree041db01a1b3fe05b596e5503254269d4d17d0e03 /FS/FS/svc_Common.pm
parent55b923c7e138919c6a22503ad3441cec0279163a (diff)
DSL status pulling, RT#13656
Diffstat (limited to 'FS/FS/svc_Common.pm')
-rw-r--r--FS/FS/svc_Common.pm19
1 files changed, 19 insertions, 0 deletions
diff --git a/FS/FS/svc_Common.pm b/FS/FS/svc_Common.pm
index 3ecff337b..02e159bfa 100644
--- a/FS/FS/svc_Common.pm
+++ b/FS/FS/svc_Common.pm
@@ -1138,8 +1138,27 @@ sub find_duplicates {
return grep { $conflict_svcparts{$_->cust_svc->svcpart} } @dup;
}
+=item getstatus_html
+=cut
+
+sub getstatus_html {
+ my $self = shift;
+
+ my $part_svc = $self->cust_svc->part_svc;
+
+ my $html = '';
+
+ foreach my $export ( grep $_->can('export_getstatus'), $part_svc->part_export ) {
+ my $export_html = '';
+ my %hash = ();
+ $export->export_getstatus( $self, \$export_html, \%hash );
+ $html .= $export_html;
+ }
+ $html;
+
+}
=back