From cd3ed01671d5e1f9332c494abbf4bb110aabe1e3 Mon Sep 17 00:00:00 2001 From: mark Date: Sat, 1 Oct 2011 02:25:05 +0000 Subject: show available term discounts on invoice, #14210 --- conf/invoice_latex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf/invoice_latex') diff --git a/conf/invoice_latex b/conf/invoice_latex index 37f59d2ee..772c2eb95 100644 --- a/conf/invoice_latex +++ b/conf/invoice_latex @@ -272,7 +272,7 @@ $OUT .= '\endfoot'; $OUT .= '\hline'; - if (scalar(@sections) > 1) { + if (scalar(@sections) > 1 and !$section->{no_subtotal}) { if ($section->{total_generator}) { $OUT .= &{$section->{total_generator}}($section); } else { -- cgit v1.2.1