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