[freeside-commits] freeside/FS/FS/part_export soma.pm,1.1,1.2
Jeff Finucane,420,,
jeff at wavetail.420.am
Mon Nov 24 06:48:31 PST 2008
Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail.420.am:/tmp/cvs-serv23870
Modified Files:
soma.pm
Log Message:
esn's are hex
Index: soma.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/soma.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- soma.pm 21 Nov 2008 03:36:16 -0000 1.1
+++ soma.pm 24 Nov 2008 14:48:28 -0000 1.2
@@ -381,7 +381,7 @@
my ( $self, $svc ) = @_;
my $svcdb = $svc->cust_svc->part_svc->svcdb;
- return sprintf( '%016d', $svc->id ) if $svcdb eq 'svc_external';
+ return sprintf( '%016X', $svc->title ) if $svcdb eq 'svc_external';
my $cust_pkg = $svc->cust_svc->cust_pkg;
return '' unless $cust_pkg;
@@ -394,7 +394,7 @@
warn "part_export::soma found multiple ESNs for cust_svc ". $svc->svcnum
if scalar( @cust_svc ) > 1;
- sprintf( '%016d', $cust_svc[0]->svc_x->id );
+ sprintf( '%016X', $cust_svc[0]->svc_x->title );
}
More information about the freeside-commits
mailing list