X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=conf%2Finvoice_html;fp=conf%2Finvoice_html;h=935c94346bf1f2054f2ad0b5e0a7ca3550f4c5f2;hp=d8a2d0a97d5bc2a128b74ce5f644342e5428f8f8;hb=8441edfbe769a7086f8062913ad840255cdf4b63;hpb=5828f9ef8d7c9e424423ba2063840060d2da8b6e diff --git a/conf/invoice_html b/conf/invoice_html index d8a2d0a97..935c94346 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -134,7 +134,7 @@ my $columncount = $unitprices ? 5 : 3; foreach my $section ( grep { !$summary || $_->{description} ne $finance_section } @sections ) { if ($section->{'pretotal'} && !$summary) { - $OUT .= '' if $notfirst; + $OUT .= '' if $notfirst++; $OUT .= ''; } unless ($section->{'summarized'}) { - $OUT .= '
'. '

'. @@ -145,7 +145,10 @@ '

' if ( $notfirst || $section->{'pretotal'} && !$summary ); + if ( $notfirst || $section->{'pretotal'} && !$summary ) { + $OUT .= ''; + $notfirst = 1; + } $OUT .= ''; } - - $notfirst++; - } my $style = 'border-top: 3px solid #000000;';
'; $OUT .= '

'; my $sectionhead; @@ -292,9 +295,6 @@ '

'; $OUT .= '