projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cbe1b87
)
esn's are hex
author
jeff
<jeff>
Mon, 24 Nov 2008 14:48:28 +0000
(14:48 +0000)
committer
jeff
<jeff>
Mon, 24 Nov 2008 14:48:28 +0000
(14:48 +0000)
FS/FS/part_export/soma.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/soma.pm
b/FS/FS/part_export/soma.pm
index
c57fc7f
..
b290db8
100644
(file)
--- a/
FS/FS/part_export/soma.pm
+++ b/
FS/FS/part_export/soma.pm
@@
-381,7
+381,7
@@
sub esn {
my ( $self, $svc ) = @_;
my $svcdb = $svc->cust_svc->part_svc->svcdb;
my ( $self, $svc ) = @_;
my $svcdb = $svc->cust_svc->part_svc->svcdb;
- return sprintf( '%016
d', $svc->id
) if $svcdb eq 'svc_external';
+ return sprintf( '%016
X', $svc->title
) if $svcdb eq 'svc_external';
my $cust_pkg = $svc->cust_svc->cust_pkg;
return '' unless $cust_pkg;
my $cust_pkg = $svc->cust_svc->cust_pkg;
return '' unless $cust_pkg;
@@
-394,7
+394,7
@@
sub esn {
warn "part_export::soma found multiple ESNs for cust_svc ". $svc->svcnum
if scalar( @cust_svc ) > 1;
warn "part_export::soma found multiple ESNs for cust_svc ". $svc->svcnum
if scalar( @cust_svc ) > 1;
- sprintf( '%016
d', $cust_svc[0]->svc_x->id
);
+ sprintf( '%016
X', $cust_svc[0]->svc_x->title
);
}
}