summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2003-12-15 08:07:07 +0000
committerivan <ivan>2003-12-15 08:07:07 +0000
commit1fb85c88fa2e89547ee48fa87f0e0ae23914e505 (patch)
tree78dc4c44d791986f24b0ec8a61b82147a351d85a /httemplate
parent80647ef08f5ef074f318329c6353e7b35f443def (diff)
print_ps returns ths invoice now, do not count on latex printing it, oops
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/misc/print-invoice.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/httemplate/misc/print-invoice.cgi b/httemplate/misc/print-invoice.cgi
index 8c1240c05..0dda68a4e 100755
--- a/httemplate/misc/print-invoice.cgi
+++ b/httemplate/misc/print-invoice.cgi
@@ -13,8 +13,7 @@ die "Can't find invoice!\n" unless $cust_bill;
open(LPR,"|$lpr") or die "Can't open $lpr: $!";
if ( $conf->exists('invoice_latex') ) {
- $cust_bill->print_ps;
- #print LPR $cust_bill->print_ps; #( date )
+ print LPR $cust_bill->print_ps; #( date )
} else {
print LPR $cust_bill->print_text; #( date )
}