X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=conf%2Finvoice_html;h=935c94346bf1f2054f2ad0b5e0a7ca3550f4c5f2;hb=8441edfbe769a7086f8062913ad840255cdf4b63;hp=e1af70703a7bb30f8498060b53e79abaf88cd537;hpb=2b2dd969f3c18751afc583ad1e836ab8e6f73b5d;p=freeside.git diff --git a/conf/invoice_html b/conf/invoice_html index e1af70703..935c94346 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -51,8 +51,8 @@ - + +
"> <%= $returnaddress %>"> @@ -83,9 +83,11 @@
+ - @@ -132,7 +134,7 @@ my $columncount = $unitprices ? 5 : 3; foreach my $section ( grep { !$summary || $_->{description} ne $finance_section } @sections ) { if ($section->{'pretotal'} && !$summary) { - $OUT .= '
+ <%= $payname %>
@@ -120,7 +122,7 @@ $OUT .= qq!
!; } %> - <%= $terms ? emt('Terms') . ": $terms" : '' %>
+ <%= $terms ? emt('Terms') . ': ' . emt($terms) : '' %>
<%= $po_line %>
' if $notfirst; + $OUT .= '' if $notfirst++; $OUT .= ''; } unless ($section->{'summarized'}) { - $OUT .= '
'. '

'. @@ -143,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; @@ -290,9 +295,6 @@ '

'; $OUT .= '