X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Ffax-invoice.cgi;h=f72fc7eaf08bb5f0c82de2e067864bb224d0940c;hp=e2e6db0955fb72a15878317cc866daca82b17046;hb=d2b55d07a9e6e64a38877136d7974ab93e14f1ed;hpb=f49f11d4c3c4ba9480cc5c9acfaa606a5ba73ad1 diff --git a/httemplate/misc/fax-invoice.cgi b/httemplate/misc/fax-invoice.cgi index e2e6db095..f72fc7eaf 100755 --- a/httemplate/misc/fax-invoice.cgi +++ b/httemplate/misc/fax-invoice.cgi @@ -12,7 +12,7 @@ my $invnum = $3; 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' => $template }); my $custnum = $cust_bill->getfield('custnum');