Added support for FAX invoice destinations using a HylaFAX server.
[freeside.git] / FS / FS / part_export / http.pm
index 0be2a0f..55d8329 100644 (file)
@@ -18,7 +18,7 @@ tie my %options, 'Tie::IxHash',
     type    => 'textarea',
     default => join("\n",
       'DomainName $svc_x->domain',
-      'Email ( grep { $_ ne "POST" } $svc_x->cust_svc->cust_pkg->cust_main->invoicing_list)[0]',
+      'Email ( grep { $_ !~ /^(POST|FAX)$/ } $svc_x->cust_svc->cust_pkg->cust_main->invoicing_list)[0]',
       'test 1',
       'reseller $svc_x->cust_svc->cust_pkg->part_pkg->pkg =~ /reseller/i',
     ),