[freeside-commits] freeside/FS/FS cust_bill.pm,1.140,1.141
Ivan,,,
ivan at wavetail.420.am
Wed Nov 2 13:18:19 PST 2005
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv24044
Modified Files:
cust_bill.pm
Log Message:
spool invoice to billco if no other destinations are set!
Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- cust_bill.pm 1 Nov 2005 05:33:30 -0000 1.140
+++ cust_bill.pm 2 Nov 2005 21:18:17 -0000 1.141
@@ -838,7 +838,8 @@
if ( $opt{'dest'} ) {
my %invoicing_list = map { /^(POST|FAX)$/ or 'EMAIL' =~ /^(.*)$/; $1 => 1 }
$self->cust_main->invoicing_list;
- return unless $invoicing_list{$opt{'dest'}};
+ return 'N/A' unless $invoicing_list{$opt{'dest'}}
+ || ! keys %invoicing_list;
}
#create file(s)
More information about the freeside-commits
mailing list