[freeside-commits] freeside/FS/FS cust_svc.pm,1.64,1.65
Ivan,,,
ivan at wavetail.420.am
Tue Sep 5 18:06:45 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv27838
Modified Files:
cust_svc.pm
Log Message:
add some debugging
Index: cust_svc.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_svc.pm,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- cust_svc.pm 12 Jul 2006 00:20:21 -0000 1.64
+++ cust_svc.pm 6 Sep 2006 01:06:43 -0000 1.65
@@ -1,7 +1,7 @@
package FS::cust_svc;
use strict;
-use vars qw( @ISA $DEBUG $ignore_quantity );
+use vars qw( @ISA $DEBUG $me $ignore_quantity );
use Carp qw( carp cluck );
use FS::Conf;
use FS::Record qw( qsearch qsearchs dbh );
@@ -22,6 +22,7 @@
@ISA = qw( FS::Record );
$DEBUG = 0;
+$me = '[cust_svc]';
$ignore_quantity = 0;
@@ -353,6 +354,9 @@
$self->{'_svc_acct'};
} else {
#require "FS/$svcdb.pm";
+ warn "$me svc_x: part_svc.svcpart ". $self->part_svc->svcpart.
+ ", so searching for $svcdb.svcnum ". $self->svcnum. "\n"
+ if $DEBUG;
qsearchs( $svcdb, { 'svcnum' => $self->svcnum } );
}
}
More information about the freeside-commits
mailing list