diff options
author | ivan <ivan> | 2004-01-11 23:38:17 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-01-11 23:38:17 +0000 |
commit | da068326c1f0df0cc574caf86745847ebf855b39 (patch) | |
tree | e46e68bd8c45daa766dcb23122d3422ecc42eef8 | |
parent | 01c33bcdfa27576bee4ab922095749794a6b9f57 (diff) |
fix for pdf
-rwxr-xr-x | httemplate/view/cust_bill-pdf.cgi | 4 |
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 %> |