[freeside-commits] freeside/FS/FS cust_main.pm,1.309,1.310

Ivan,,, ivan at wavetail.420.am
Thu Oct 4 11:28:57 PDT 2007


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv16725

Modified Files:
	cust_main.pm 
Log Message:
additional due_cust_event debugging

Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.309
retrieving revision 1.310
diff -u -d -r1.309 -r1.310
--- cust_main.pm	4 Oct 2007 04:21:10 -0000	1.309
+++ cust_main.pm	4 Oct 2007 18:28:55 -0000	1.310
@@ -1595,8 +1595,8 @@
 
   } else {
 
-    warn "$me ncancelled_pkgs: searching for packages for custnum ".
-         $self->custnum
+    warn "$me ncancelled_pkgs: searching for packages with custnum ".
+         $self->custnum. "\n"
       if $DEBUG > 1;
 
     @cust_pkg =
@@ -2627,6 +2627,7 @@
       $extra_sql .= " $order";
 
       my @part_event = qsearch( {
+        'debug'     => ( $opt{'debug'} > 3 ? 1 : 0 ),
         'select'    => 'part_event.*',
         'table'     => 'part_event',
         'addl_from' => "$cross $join",
@@ -2648,7 +2649,7 @@
     }
 
     warn "    ". scalar(@e_cust_event).
-         " subtotal possible cust events found for $eventtable"
+         " subtotal possible cust events found for $eventtable\n"
       if $DEBUG > 1;
 
     push @cust_event, @e_cust_event;



More information about the freeside-commits mailing list