From df185d34f354c5788e8c4693182b7689a3333839 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 14 May 2005 17:04:55 +0000 Subject: html invoices: when displaying, use the actual logo from the conf dir - same as the emailed copy --- httemplate/view/cust_bill-logo.cgi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 httemplate/view/cust_bill-logo.cgi (limited to 'httemplate') diff --git a/httemplate/view/cust_bill-logo.cgi b/httemplate/view/cust_bill-logo.cgi new file mode 100755 index 000000000..3e9c67fcc --- /dev/null +++ b/httemplate/view/cust_bill-logo.cgi @@ -0,0 +1,15 @@ +<% + +##untaint invnum +#my($query) = $cgi->keywords; +#$query =~ /^((.+)-)?(\d+)$/; +#my $templatename = $2; +#my $invnum = $3; + +my $templatename = ''; + +my $conf = new FS::Conf; +http_header('Content-Type' => 'image/png' ); + +http_header('Content-Type' => 'image/png' ); +%><%= $conf->config_binary("logo$templatename.png") %> -- cgit v1.2.1