[freeside-commits] freeside/httemplate/misc fax-invoice.cgi, 1.4.2.1, 1.4.2.2

Ivan,,, ivan at wavetail.420.am
Wed Jun 4 11:51:45 PDT 2008


Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv27874/httemplate/misc

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	fax-invoice.cgi 
Log Message:
this should fix the random "HylaFax support has not been configured" error, caused by cust_bill->fax getting called instead of cust_main->fax field

Index: fax-invoice.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/fax-invoice.cgi,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -d -r1.4.2.1 -r1.4.2.2
--- fax-invoice.cgi	13 Jan 2008 21:14:29 -0000	1.4.2.1
+++ fax-invoice.cgi	4 Jun 2008 18:51:43 -0000	1.4.2.2
@@ -12,7 +12,7 @@
 my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum});
 die "Can't find invoice!\n" unless $cust_bill;
 
-$cust_bill->fax($template);
+$cust_bill->fax_invoice($template);
 
 my $custnum = $cust_bill->getfield('custnum');
 



More information about the freeside-commits mailing list