projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
FS
/
FS
/
part_export
/
infostreet.pm
diff --git
a/FS/FS/part_export/infostreet.pm
b/FS/FS/part_export/infostreet.pm
index
309e7ce
..
51f5760
100644
(file)
--- a/
FS/FS/part_export/infostreet.pm
+++ b/
FS/FS/part_export/infostreet.pm
@@
-19,6
+19,7
@@
tie my %options, 'Tie::IxHash',
'desc' => 'Real-time export to InfoStreet streetSmartAPI',
'options' => \%options,
'nodomain' => 'Y',
'desc' => 'Real-time export to InfoStreet streetSmartAPI',
'options' => \%options,
'nodomain' => 'Y',
+ 'no_machine' => 1,
'notes' => <<'END'
Real-time export to
<a href="http://www.infostreet.com/">InfoStreet</a> streetSmartAPI.
'notes' => <<'END'
Real-time export to
<a href="http://www.infostreet.com/">InfoStreet</a> streetSmartAPI.
@@
-67,7
+68,7
@@
sub _export_insert {
$_ => $cust_main->getfield( $infostreet2cust_main{$_} );
} keys %infostreet2cust_main );
$_ => $cust_main->getfield( $infostreet2cust_main{$_} );
} keys %infostreet2cust_main );
- my @emails = grep { $_
ne 'POST'
} $cust_main->invoicing_list;
+ my @emails = grep { $_
!~ /^(POST|FAX)$/
} $cust_main->invoicing_list;
$contact_info{'email'} = $emails[0] if @emails;
#this one is kinda noment-specific
$contact_info{'email'} = $emails[0] if @emails;
#this one is kinda noment-specific