freeside/FS/FS/part_export artera_turbo.pm,1.8,1.9
ivan
ivan at pouncequick.420.am
Wed Jan 5 11:29:16 PST 2005
Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory pouncequick:/tmp/cvs-serv15070/part_export
Modified Files:
artera_turbo.pm
Log Message:
key codes are hex!
Index: artera_turbo.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/artera_turbo.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- artera_turbo.pm 5 Jan 2005 03:07:17 -0000 1.8
+++ artera_turbo.pm 5 Jan 2005 19:29:11 -0000 1.9
@@ -101,7 +101,7 @@
if ( $result->{'id'} == 1 ) {
my $new = new FS::svc_external { $svc_external->hash };
$new->id(sprintf('%010d', $result->{'ASN'}));
- $new->title(sprintf('%010d', $result->{'AKC'}));
+ $new->title(sprintf('%010x', hex($result->{'AKC'}) ));
$new->replace($svc_external);
} else {
$result->{'message'} || 'No response from Artera';
@@ -165,7 +165,7 @@
my $result = $artera->statusChange(
'asn' => sprintf('%010d', $id),
- 'akc' => sprintf('%010d', $title),
+ 'akc' => sprintf('%010x', hex($title)),
'statusid' => $status,
);
More information about the freeside-commits
mailing list