diff options
author | jeff <jeff> | 2008-11-24 14:48:28 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-11-24 14:48:28 +0000 |
commit | e1fbc0653fe71b540d9f58c225a9b9cc6b9f796b (patch) | |
tree | 4c218c538a37093d5a5f83adf00ce96d511a8ebd | |
parent | cbe1b877db9dd1eeb160a900d5a9e2280dc1c1b3 (diff) |
esn's are hex
-rw-r--r-- | FS/FS/part_export/soma.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/part_export/soma.pm b/FS/FS/part_export/soma.pm index c57fc7ff1..b290db844 100644 --- 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; - 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 @@ sub esn { 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 ); } |