diff options
author | ivan <ivan> | 2005-03-06 03:04:29 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-03-06 03:04:29 +0000 |
commit | 34647c32b50ce3b8ee1b6d3d7aef4ba9d0297bdb (patch) | |
tree | faf2226212cf421ffc5d7c998f9eab9ed2ef9216 /httemplate/view | |
parent | f34557b8890dcc63db6c5588233dc7bfa9d39f22 (diff) |
add Excel and CSV download of templated reports and clean up their HTML formatting, closes; Bug#520, Bug#1107
Diffstat (limited to 'httemplate/view')
-rwxr-xr-x | httemplate/view/cust_bill-pdf.cgi | 3 | ||||
-rwxr-xr-x | httemplate/view/cust_bill-ps.cgi | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/httemplate/view/cust_bill-pdf.cgi b/httemplate/view/cust_bill-pdf.cgi index a72a60551..ce7ab0c5c 100755 --- a/httemplate/view/cust_bill-pdf.cgi +++ b/httemplate/view/cust_bill-pdf.cgi @@ -14,5 +14,4 @@ my $pdf = $cust_bill->print_pdf( '', $templatename); http_header('Content-Type' => 'application/pdf' ); http_header('Content-Length' => length($pdf) ); http_header('Cache-control' => 'max-age=60' ); -%> -<%= $pdf %> +%><%= $pdf %> diff --git a/httemplate/view/cust_bill-ps.cgi b/httemplate/view/cust_bill-ps.cgi index 8485a150f..e730a822a 100755 --- a/httemplate/view/cust_bill-ps.cgi +++ b/httemplate/view/cust_bill-ps.cgi @@ -10,5 +10,4 @@ my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum}); die "Invoice #$invnum not found!" unless $cust_bill; http_header('Content-Type' => 'application/postscript' ); -%> -<%= $cust_bill->print_ps( '', $templatename) %> +%><%= $cust_bill->print_ps( '', $templatename) %> |