X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=conf%2Fquotation_latex;h=6aac160754aa3e2dfa34cc168e12ee4c6030dfd2;hb=5a6c2cf5ca5f1a80cad9310ec239a64dc8a280c1;hp=7ebc38d75c00d81d1bcf770c2f613705b1e88e43;hpb=0b6bd6405107c1abf8f2c5e2bc1b569870a02309;p=freeside.git diff --git a/conf/quotation_latex b/conf/quotation_latex index 7ebc38d75..6aac16075 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;