summaryrefslogtreecommitdiff
path: root/conf/quotation_latex
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-03-06 14:20:22 -0800
committerMark Wells <mark@freeside.biz>2015-03-06 14:20:22 -0800
commit35c18f29bc29dedfe2fa4ef037390d90b17f87ba (patch)
tree8fdf10f87443bae43d46a25f1fe983e087c3a9bd /conf/quotation_latex
parent92acdafd28e41e0e333d2e9df59af657f1f1242c (diff)
estimate tax on quotations, #32489
Diffstat (limited to 'conf/quotation_latex')
-rw-r--r--conf/quotation_latex18
1 files changed, 8 insertions, 10 deletions
diff --git a/conf/quotation_latex b/conf/quotation_latex
index 7ebc38d..6aac160 100644
--- a/conf/quotation_latex
+++ b/conf/quotation_latex
@@ -281,18 +281,16 @@
}
}
- #if ($section == $sections[$#sections]) {
- foreach my $line (grep {$_->{section}->{description} eq $section->{description}} @total_items) {
- if ($section->{total_line_generator}) {
- $OUT .= &{$section->{total_line_generator}}($line);
- } else {
- $OUT .= '\FStotaldesc{' . $line->{'total_item'} . '}' .
- '{' . $line->{'total_amount'} . '}' . "\n";
- }
+ foreach my $line (grep {$_->{section}->{description} eq $section->{description}} @total_items) {
+ if ($section->{total_line_generator}) {
+ $OUT .= &{$section->{total_line_generator}}($line);
+ } else {
+ $OUT .= '\FStotaldesc{' . $line->{'total_item'} . '}' .
+ '{' . $line->{'total_amount'} . '}' . "\n";
+ $OUT .= '\hline' . "\n" if $line->{'break_after'};
}
- #}
+ }
- $OUT .= '\hline';
$OUT .= '\endlastfoot';
my $lastref = 0;