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