diff options
author | mark <mark> | 2011-10-01 02:25:05 +0000 |
---|---|---|
committer | mark <mark> | 2011-10-01 02:25:05 +0000 |
commit | cd3ed01671d5e1f9332c494abbf4bb110aabe1e3 (patch) | |
tree | 22c4ecf0dfa716204a1e6acbbb79e24797e82e1d /conf | |
parent | a85bf2b444454d120a334d6ae11a0e981bd75db9 (diff) |
show available term discounts on invoice, #14210
Diffstat (limited to 'conf')
-rw-r--r-- | conf/invoice_html | 2 | ||||
-rw-r--r-- | conf/invoice_latex | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/invoice_html b/conf/invoice_html index 1d53683ad..567385b06 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -191,7 +191,7 @@ } - if ($section->{'description'} || $multisection) { + if ($section->{'description'} || $multisection and !$section->{no_subtotal}) { my $style = 'border-top: 3px solid #000000;'. 'border-bottom: 3px solid #000000;'; $OUT .= 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 {
|