summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2003-11-29 10:48:57 +0000
committerivan <ivan>2003-11-29 10:48:57 +0000
commitd6297be89acbef3cdf9fce4925f797063583b066 (patch)
tree9ae0abbbe4469025e3b2fb20f28f87388799a8bb /FS
parente294302d8bf2b12eec690d8c9f517fa81825c79a (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 9409bc5f6..64759f9bf 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -343,6 +343,10 @@ sub send {
}
+ if ( $conf->config('invoice_latex') ) {
+ @print_text = $self->print_ps('', $template);
+ }
+
if ( grep { $_ eq 'POST' } @invoicing_list ) { #postal
my $lpr = $conf->config('lpr');
open(LPR, "|$lpr")