[freeside-commits] freeside/httemplate/edit svc_dsl.cgi,1.9,1.10
Erik Levinson
levinse at wavetail.420.am
Fri Apr 29 07:20:39 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv11972/httemplate/edit
Modified Files:
svc_dsl.cgi
Log Message:
add import mode to Ikano
Index: svc_dsl.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_dsl.cgi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -d -r1.9 -r1.10
--- svc_dsl.cgi 28 Mar 2011 02:00:53 -0000 1.9
+++ svc_dsl.cgi 29 Apr 2011 14:20:37 -0000 1.10
@@ -41,7 +41,10 @@
if ( scalar(@exports) == 1 ) {
my $export = @exports[0];
- if($export->exporttype eq 'ikano') {
+ if($export->exporttype eq 'ikano' && $export->import_mode) {
+ @fields = ();
+ }
+ elsif($export->exporttype eq 'ikano') {
@fields = ( 'password', 'monitored', );
foreach my $hf ( keys %$ti_fields ) {
@@ -65,6 +68,14 @@
die "more than one DSL-pulling export for svcpart ".$part_svc->svcpart
if ( scalar(@exports) > 1 );
+ if ( scalar(@exports) == 1 ) {
+ my $export = @exports[0];
+ if($export->exporttype eq 'ikano' && $export->import_mode) {
+ @fields = ( 'vendor_order_id' );
+ return;
+ }
+ }
+
my $cust_main = $cust_pkg->cust_main;
@fields = (
More information about the freeside-commits
mailing list