use the latex template for normal printing when available
authorivan <ivan>
Sat, 29 Nov 2003 10:48:57 +0000 (10:48 +0000)
committerivan <ivan>
Sat, 29 Nov 2003 10:48:57 +0000 (10:48 +0000)
FS/FS/cust_bill.pm

index 9409bc5..64759f9 100644 (file)
@@ -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")