[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.151, 1.152

Ivan,,, ivan at wavetail.420.am
Mon Oct 3 18:04:00 PDT 2011


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

Modified Files:
	MyAccount.pm 
Log Message:
add svc_dsl name to list_svcs output, RT#13656

Index: MyAccount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/MyAccount.pm,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -w -d -r1.151 -r1.152
--- MyAccount.pm	4 Oct 2011 00:58:12 -0000	1.151
+++ MyAccount.pm	4 Oct 2011 01:03:58 -0000	1.152
@@ -1379,6 +1379,14 @@
                 # more...
               );
 
+            } elsif ( $svcdb eq 'svc_dsl' ) {
+              if ( $svc_x->first || $svc_x->get('last') || $svc_x->company ) {
+                $hash{'name'} = $svc_x->first. ' '. $svc_x->get('last');
+                $hash{'name'} = $svc_x->company. ' ('. $hash{'name'}. ')'
+                  if $svc_x->company;
+              } else {
+                $hash{'name'} = $cust_main->name;
+              }
             }
             # elsif ( $svcdb eq 'svc_phone' || $svcdb eq 'svc_port' ) {
             #  %hash = (



More information about the freeside-commits mailing list