From: ivan Date: Sat, 29 Nov 2003 10:48:57 +0000 (+0000) Subject: use the latex template for normal printing when available X-Git-Tag: freeside_1_5_0pre4^2~128 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=d6297be89acbef3cdf9fce4925f797063583b066;p=freeside.git use the latex template for normal printing when available --- 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")