freeside/FS/FS/part_export artera_turbo.pm,1.3,1.4

ivan ivan at pouncequick.420.am
Fri Oct 22 03:14:34 PDT 2004


Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory pouncequick:/tmp/cvs-serv20933

Modified Files:
	artera_turbo.pm 
Log Message:
add option to specify a static aid

Index: artera_turbo.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/artera_turbo.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- artera_turbo.pm	17 Oct 2004 14:01:41 -0000	1.3
+++ artera_turbo.pm	22 Oct 2004 10:14:31 -0000	1.4
@@ -18,6 +18,7 @@
   'agent_aid'  => { 'label' => 'Export agentnum values to Artera AID',
                     'type'  => 'checkbox',
                   },
+  'aid'        => { 'label' => 'Artera Agent ID to use if not using agentnum values', },
   'production' => { 'label' => 'Production mode (leave unchecked for staging)',
                     'type'  => 'checkbox',
                   },
@@ -80,7 +81,9 @@
     'email'   => $email,
     'cname'   => $cust_main->name,
     'ref'     => $svc_external->svcnum,
-    'aid'     => ( $self->option('agent_aid') ? $cust_main->agentnum : '' ),
+    'aid'     => ( $self->option('agent_aid')
+                     ? $cust_main->agentnum
+                     : $self->option('aid')   ),
     'add1'    => $cust_main->address1,
     'add2'    => $cust_main->address2,
     'add3'    => $cust_main->city,




More information about the freeside-commits mailing list