summaryrefslogtreecommitdiff
path: root/httemplate/misc/print-invoice.cgi
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-09-27 17:29:17 -0700
committerMark Wells <mark@freeside.biz>2013-09-27 17:29:17 -0700
commit1d6a32338660e3d7202faa7e4ce14736b4569a48 (patch)
tree681f6a7887f43974b7e58508e5aeb5b59db531b7 /httemplate/misc/print-invoice.cgi
parentc64ff892b9067f7aa719e78b20379d3274907946 (diff)
invoice configurations, #24723
Diffstat (limited to 'httemplate/misc/print-invoice.cgi')
-rwxr-xr-xhttemplate/misc/print-invoice.cgi2
1 files changed, 1 insertions, 1 deletions
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');