summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhttemplate/view/cust_bill-pdf.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/view/cust_bill-pdf.cgi b/httemplate/view/cust_bill-pdf.cgi
index 03340a16f..7aa69100d 100755
--- a/httemplate/view/cust_bill-pdf.cgi
+++ b/httemplate/view/cust_bill-pdf.cgi
@@ -8,6 +8,6 @@ my $invnum = $1;
my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum});
die "Invoice #$invnum not found!" unless $cust_bill;
-http_header('Content-Type' => 'application/postscript' );
+http_header('Content-Type' => 'application/pdf' );
%>
-<%= $cust_bill->print_ps %>
+<%= $cust_bill->print_pdf %>