freeside/FS/FS cust_bill.pm,1.120,1.121

Ivan Kohler ivan at pouncequick.420.am
Mon Jun 6 13:07:22 PDT 2005


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv24779

Modified Files:
	cust_bill.pm 
Log Message:
eek, fix silly problem in invoice sending refactoring

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- cust_bill.pm	2 Jun 2005 09:29:53 -0000	1.120
+++ cust_bill.pm	6 Jun 2005 20:07:19 -0000	1.121
@@ -568,13 +568,13 @@
 
   my @invoicing_list = $self->cust_main->invoicing_list;
 
-  $self->send_email($template, $invoice_from)
+  $self->email($template, $invoice_from)
     if grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list or !@invoicing_list;
 
-  $self->send_print($template)
+  $self->print($template)
     if grep { $_ eq 'POST' } @invoicing_list; #postal
 
-  $self->send_fax($template)
+  $self->fax($template)
     if grep { $_ eq 'FAX' } @invoicing_list; #fax
 
   '';




More information about the freeside-commits mailing list