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