X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fprint-invoice.cgi;h=5ce6e76dff60b68adf9564e0793d615fbb9baa73;hp=aeef6879507edb445dbe609ed5277e09b1183e17;hb=560af69840e7e3fcebf65d5d56ca4efc0851efec;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c diff --git a/httemplate/misc/print-invoice.cgi b/httemplate/misc/print-invoice.cgi index aeef68795..5ce6e76df 100755 --- a/httemplate/misc/print-invoice.cgi +++ b/httemplate/misc/print-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->print($template); +$cust_bill->print({ 'template' => $template}); my $custnum = $cust_bill->getfield('custnum');