[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.146, 1.147
Ivan,,,
ivan at wavetail.420.am
Thu Sep 29 21:54:47 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv21996
Modified Files:
MyAccount.pm
Log Message:
add svcnum to customer info, RT#13656
Index: MyAccount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/MyAccount.pm,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -w -d -r1.146 -r1.147
--- MyAccount.pm 30 Sep 2011 04:30:21 -0000 1.146
+++ MyAccount.pm 30 Sep 2011 04:54:45 -0000 1.147
@@ -433,6 +433,7 @@
if ( $session->{'svcnum'} ) {
my $cust_svc = qsearchs('cust_svc', { 'svcnum' => $session->{'svcnum'} });
$return{'svc_label'} = ($cust_svc->label)[1] if $cust_svc;
+ $return{'svcnum'} = $session->{'svcnum'};
}
} elsif ( $session->{'svcnum'} ) { #no customer record
@@ -500,6 +501,7 @@
if ( $session->{'svcnum'} ) {
my $cust_svc = qsearchs('cust_svc', { 'svcnum' => $session->{'svcnum'} });
$return{'svc_label'} = ($cust_svc->label)[1] if $cust_svc;
+ $return{'svcnum'} = $session->{'svcnum'};
}
} elsif ( $session->{'svcnum'} ) { #no customer record
More information about the freeside-commits
mailing list