show available term discounts on invoice, #14210
[freeside.git] / conf / invoice_latex
index 37f59d2..772c2eb 100644 (file)
       $OUT .= '\endfoot';\r
       $OUT .= '\hline';\r
 \r
-      if (scalar(@sections) > 1) {\r
+      if (scalar(@sections) > 1 and !$section->{no_subtotal}) {\r
         if ($section->{total_generator}) {\r
           $OUT .= &{$section->{total_generator}}($section);\r
         } else {\r