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