summaryrefslogtreecommitdiff
path: root/httemplate/misc/print-invoice.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/print-invoice.cgi')
-rwxr-xr-xhttemplate/misc/print-invoice.cgi19
1 files changed, 0 insertions, 19 deletions
diff --git a/httemplate/misc/print-invoice.cgi b/httemplate/misc/print-invoice.cgi
deleted file mode 100755
index aeef68795..000000000
--- a/httemplate/misc/print-invoice.cgi
+++ /dev/null
@@ -1,19 +0,0 @@
-<% $cgi->redirect("${p}view/cust_main.cgi?$custnum") %>
-<%init>
-
-die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Resend invoices');
-
-#untaint invnum
-my($query) = $cgi->keywords;
-$query =~ /^((.+)-)?(\d+)$/;
-my $template = $2;
-my $invnum = $3;
-my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum});
-die "Can't find invoice!\n" unless $cust_bill;
-
-$cust_bill->print($template);
-
-my $custnum = $cust_bill->getfield('custnum');
-
-</%init>