summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2004-01-11 23:38:18 +0000
committerivan <ivan>2004-01-11 23:38:18 +0000
commitc56c1d651c6384fdc7d7bf8909061f3b0cd0b26a (patch)
treee10d974a8d94b9f8869eb667d7d6a683bf72e2a2
parent70969b380313fc084b0658a5776e5848d67a0703 (diff)
fix for pdf
-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 %>