From da068326c1f0df0cc574caf86745847ebf855b39 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 11 Jan 2004 23:38:17 +0000 Subject: [PATCH] fix for pdf --- httemplate/view/cust_bill-pdf.cgi | 4 ++-- 1 file 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 %> -- 2.11.0