summaryrefslogtreecommitdiff
path: root/conf/invoice_latex
diff options
context:
space:
mode:
authormark <mark>2011-10-01 02:25:05 +0000
committermark <mark>2011-10-01 02:25:05 +0000
commitcd3ed01671d5e1f9332c494abbf4bb110aabe1e3 (patch)
tree22c4ecf0dfa716204a1e6acbbb79e24797e82e1d /conf/invoice_latex
parenta85bf2b444454d120a334d6ae11a0e981bd75db9 (diff)
show available term discounts on invoice, #14210
Diffstat (limited to 'conf/invoice_latex')
-rw-r--r--conf/invoice_latex2
1 files changed, 1 insertions, 1 deletions
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 {