freeside/FS/FS/part_export artera_turbo.pm,1.2,1.3
ivan
ivan at pouncequick.420.am
Sun Oct 17 07:01:55 PDT 2004
- Previous message: freeside/fs_selfservice/FS-SelfService/cgi process_svc_external.html,NONE,1.1 provision_list.html,1.1,1.2 agent.cgi,1.6,1.7 selfservice.cgi,1.9,1.10
- Next message: freeside/FS/FS/ClientAPI MyAccount.pm,1.29,1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory pouncequick:/tmp/cvs-serv30067/FS/FS/part_export
Modified Files:
artera_turbo.pm
Log Message:
add artera turbo handling to self-service and reseller interfaces
Index: artera_turbo.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/artera_turbo.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- artera_turbo.pm 17 Oct 2004 09:19:23 -0000 1.2
+++ artera_turbo.pm 17 Oct 2004 14:01:41 -0000 1.3
@@ -61,7 +61,6 @@
eval "use Net::Artera;";
return $@ if $@;
-
my $artera = $self->_new_Artera;
my $cust_pkg = $svc_external->cust_svc->cust_pkg;
@@ -113,25 +112,27 @@
sub _export_delete {
my( $self, $svc_external ) = (shift, shift);
- $self->StatusChange(17, $svc_external);
+ $self->statusChange(17, $svc_external);
}
sub _export_suspend {
my( $self, $svc_external ) = (shift, shift);
- $self->StatusChange(16, $svc_external);
+ $self->statusChange(16, $svc_external);
}
sub _export_unsuspend {
my( $self, $svc_external ) = (shift, shift);
- $self->StatusChange(15, $svc_external);
+ $self->statusChange(15, $svc_external);
}
-sub StatusChange {
+sub statusChange {
my( $self, $status, $svc_external ) = @_;
+ eval "use Net::Artera;";
+ return $@ if $@;
my $artera = $self->_new_Artera;
- my $result = $artera->StatusChange(
+ my $result = $artera->statusChange(
'asn' => sprintf('%010d', $svc_external->id),
'akc' => $svc_external->title,
'statusid' => $status,
- Previous message: freeside/fs_selfservice/FS-SelfService/cgi process_svc_external.html,NONE,1.1 provision_list.html,1.1,1.2 agent.cgi,1.6,1.7 selfservice.cgi,1.9,1.10
- Next message: freeside/FS/FS/ClientAPI MyAccount.pm,1.29,1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list