[freeside-commits] freeside/httemplate/search phone_inventory_provisioned.html, 1.1.2.5, 1.1.2.6
Erik Levinson
levinse at wavetail.420.am
Tue Jun 21 15:59:06 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv4136/httemplate/search
Modified Files:
Tag: FREESIDE_2_1_BRANCH
phone_inventory_provisioned.html
Log Message:
improve performance of DID provisioning status report, RT10988
Index: phone_inventory_provisioned.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/phone_inventory_provisioned.html,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -w -d -r1.1.2.5 -r1.1.2.6
--- phone_inventory_provisioned.html 21 Jun 2011 22:00:33 -0000 1.1.2.5
+++ phone_inventory_provisioned.html 21 Jun 2011 22:59:03 -0000 1.1.2.6
@@ -39,10 +39,9 @@
my $count = 0;
foreach my $did ( @dids ) {
- my $cust_svc = $did->cust_svc;
- next unless $cust_svc;
+ my $svcnum = $did->svcnum;
+ next unless $svcnum;
- my $svcnum = $cust_svc->svcnum;
my $sql = "select count(1) from cdr where src =
(select phonenum from svc_phone where svcnum = $svcnum)
or charged_party = (select phonenum from svc_phone where
More information about the freeside-commits
mailing list