- return if ( scalar(@exports) == 0 );
-
- my $export = @exports[0];
- $opt->{'disable_unprovision'} = 1;
-
- @fields = ( 'phonenum',
- { field => 'loop_type',
- value => 'FS::part_export::'.$export->exporttype.'::loop_type_long'
- },
- { field => 'desired_due_date', type => 'date', },
- { field => 'due_date', type => 'date', },
- { field => 'pushed', type => 'datetime', },
- { field => 'monitored', type => 'checkbox', },
- { field => 'last_pull', type => 'datetime', },
- 'first',
- 'last',
- 'company' );
-
- if($export->exporttype eq 'ikano') {
- push @fields, qw ( username password isp_chg isp_prev staticips );
- }
- # else add any other export-specific stuff here
+ if ( scalar(@exports) ) {
+
+ my $export = @exports[0];
+
+ @fields = (
+ 'phonenum',
+ { field => 'loop_type',
+ value => 'FS::part_export::'.$export->exporttype.'::loop_type_long'
+ },
+ { field => 'desired_due_date', type => 'date', },
+ { field => 'due_date', type => 'date', },
+ { field => 'pushed', type => 'datetime', },
+ { field => 'monitored', type => 'checkbox', },
+ { field => 'last_pull', type => 'datetime', },
+ 'first',
+ 'last',
+ 'company',
+ );
+
+ my $status = '';
+ if($export->exporttype eq 'ikano') {
+ push @fields, qw ( username password isp_chg isp_prev staticips );
+ $status = "Ikano " . $svc_dsl->vendor_order_type . " order #"
+ . $svc_dsl->vendor_order_id . " Status: "
+ . $svc_dsl->vendor_order_status;
+ }
+ # else add any other export-specific stuff here