summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorivan <ivan>2003-12-15 08:07:06 +0000
committerivan <ivan>2003-12-15 08:07:06 +0000
commitb3808f960c0351710f7005e7a2729925f57c7f4a (patch)
treee46c61b8be004e1e10ddc2c1c647a30c23d1ec5e /httemplate/misc
parent60d630b2052d208f9f8adb8a28706c731f366bc2 (diff)
print_ps returns ths invoice now, do not count on latex printing it, oops
Diffstat (limited to 'httemplate/misc')
-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 )
}