X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=conf%2Finvoice_latex;h=772c2eb95c40cf29d2d22a18403f73deab52ab9d;hb=81978af92ecdaaefeff5156d9ab3b4f99586df1c;hp=37f59d2eec644bde416469dc8deecfe26bcecd23;hpb=62b12e8b09608b7081ffd596be899fafb5c2403f;p=freeside.git 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 {