[freeside-commits] freeside/FS/FS cust_pkg.pm, 1.179.2.29, 1.179.2.30

Ivan,,, ivan at wavetail.420.am
Wed Aug 17 18:15:47 PDT 2011


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

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	cust_pkg.pm 
Log Message:
multiple state links in FCC report, RT#13922

Index: cust_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg.pm,v
retrieving revision 1.179.2.29
retrieving revision 1.179.2.30
diff -u -w -d -r1.179.2.29 -r1.179.2.30
--- cust_pkg.pm	18 Aug 2011 00:33:39 -0000	1.179.2.29
+++ cust_pkg.pm	18 Aug 2011 01:15:45 -0000	1.179.2.30
@@ -3036,6 +3036,18 @@
   }
 
   ###
+  # parse censustract2
+  ###
+  if ( exists($params->{'censustract2'}) =~ /^(\d*)$/ ) {
+    if ($1) {
+      push @where, "cust_main.censustract LIKE '$1%'";
+    } else {
+      push @where,
+        "( cust_main.censustract = '' OR cust_main.censustract IS NULL )";
+    }
+  }
+
+  ###
   # parse part_pkg
   ###
 



More information about the freeside-commits mailing list