From d6297be89acbef3cdf9fce4925f797063583b066 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 29 Nov 2003 10:48:57 +0000 Subject: [PATCH] use the latex template for normal printing when available --- FS/FS/cust_bill.pm | 4 ++++ 1 file changed, 4 insertions(+) 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") -- 2.11.0