[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.133.2.13, 1.133.2.14
Ivan,,,
ivan at wavetail.420.am
Thu Sep 29 21:54:50 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv22020
Modified Files:
Tag: FREESIDE_2_3_BRANCH
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.133.2.13
retrieving revision 1.133.2.14
diff -u -w -d -r1.133.2.13 -r1.133.2.14
--- MyAccount.pm 30 Sep 2011 04:30:24 -0000 1.133.2.13
+++ MyAccount.pm 30 Sep 2011 04:54:48 -0000 1.133.2.14
@@ -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