X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill-pdf.cgi;h=7aa69100d50cd5f8733b41aaa1ed9ed02352e066;hp=03340a16f664ebec672de0973167000845623a87;hb=6db0053308daae19135066c5bf4d20e82f0a5780;hpb=01c33bcdfa27576bee4ab922095749794a6b9f57 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 %>