X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill-ps.cgi;h=093bfd62a91529828873691c22f706f25d7a86d3;hb=420d984948f76376ec18a731031926e9e769f9b0;hp=bbf63ced911ec270cc3fe8b189c714d52e8e93b8;hpb=97c0616b60819a23dbc6d7d6ebf2ff1dc3446e91;p=freeside.git diff --git a/httemplate/view/cust_bill-ps.cgi b/httemplate/view/cust_bill-ps.cgi index bbf63ced9..093bfd62a 100755 --- a/httemplate/view/cust_bill-ps.cgi +++ b/httemplate/view/cust_bill-ps.cgi @@ -1,14 +1 @@ -<% - -#untaint invnum -my($query) = $cgi->keywords; -$query =~ /^((.+)-)?(\d+)$/; -my $templatename = $1; -my $invnum = $3; - -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) %> +<& elements/cust_bill-typeset 'ps' &>\