diff options
author | cvs2git <cvs2git> | 2003-11-29 08:08:37 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2003-11-29 08:08:37 +0000 |
commit | ff49a57975615587e25658238ebb34d0822c0dde (patch) | |
tree | abb42ec8c628f9821c00b4fb36edaa7db5d3e7c0 /httemplate/view | |
parent | 739160399748fd05ba01382f057c9086f58c0f1a (diff) | |
parent | 23ec9b00410224868d6be1e47a0d72a6c8b3f6f5 (diff) |
This commit was manufactured by cvs2svn to create branch
'FREESIDE_1_4_BRANCH'.
Diffstat (limited to 'httemplate/view')
-rwxr-xr-x | httemplate/view/cust_bill-ps.cgi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/httemplate/view/cust_bill-ps.cgi b/httemplate/view/cust_bill-ps.cgi new file mode 100755 index 000000000..03340a16f --- /dev/null +++ b/httemplate/view/cust_bill-ps.cgi @@ -0,0 +1,13 @@ +<% + +#untaint invnum +my($query) = $cgi->keywords; +$query =~ /^(\d+)$/; +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' ); +%> +<%= $cust_bill->print_ps %> |