[freeside-commits] freeside/FS/FS svc_Common.pm, 1.62.2.1, 1.62.2.2 ClientAPI_XMLRPC.pm, 1.5.2.8, 1.5.2.9

Ivan,,, ivan at wavetail.420.am
Fri Nov 11 15:55:37 PST 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv26754/FS/FS

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	svc_Common.pm ClientAPI_XMLRPC.pm 
Log Message:
DSL status pulling, RT#13656

Index: svc_Common.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_Common.pm,v
retrieving revision 1.62.2.1
retrieving revision 1.62.2.2
diff -u -w -d -r1.62.2.1 -r1.62.2.2
--- svc_Common.pm	10 Nov 2011 21:55:50 -0000	1.62.2.1
+++ svc_Common.pm	11 Nov 2011 23:55:35 -0000	1.62.2.2
@@ -1138,8 +1138,27 @@
   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
 

Index: ClientAPI_XMLRPC.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI_XMLRPC.pm,v
retrieving revision 1.5.2.8
retrieving revision 1.5.2.9
diff -u -w -d -r1.5.2.8 -r1.5.2.9
--- ClientAPI_XMLRPC.pm	31 Oct 2011 02:33:29 -0000	1.5.2.8
+++ ClientAPI_XMLRPC.pm	11 Nov 2011 23:55:35 -0000	1.5.2.9
@@ -120,6 +120,7 @@
   'list_pkgs'                 => 'MyAccount/list_pkgs',     #add to ss (added?)
   'list_svcs'                 => 'MyAccount/list_svcs',     #add to ss (added?)
   'list_svc_usage'            => 'MyAccount/list_svc_usage',   
+  'svc_status_html'           => 'MyAccount/svc_status_html',
   'list_dsl_devices'          => 'MyAccount/list_dsl_devices',   
   'add_dsl_device'            => 'MyAccount/add_dsl_device',   
   'delete_dsl_device'         => 'MyAccount/delete_dsl_device',   



More information about the freeside-commits mailing list