From ea7fa34bcefe1b41783e49539501a8c6474fe97c Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 29 Nov 2003 10:48:58 +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 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: $!"; -- 2.20.1