summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2003-11-29 10:48:58 +0000
committerivan <ivan>2003-11-29 10:48:58 +0000
commitea7fa34bcefe1b41783e49539501a8c6474fe97c (patch)
tree39eebe9ad49430305870629fb9f7a466d27bd2d8 /FS
parentbea688511327152b7f7f791331d07773d3b99617 (diff)
use the latex template for normal printing when available
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_bill.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 9a182fdb1..370514202 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -423,6 +423,10 @@ sub send {
}
+ if ( $conf->config('invoice_latex') ) {
+ @print_text = $self->print_ps('', $template);
+ }
+
if ( grep { $_ eq 'POST' } @invoicing_list ) { #postal
open(LPR, "|$lpr")
or return "Can't open pipe to $lpr: $!";