X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=conf%2Finvoice_html;h=fe2a9a9763c27889688bd6cebb7ee8bdd7f76cb4;hb=7b125e587a4d1ee0aca692e23ea7897f671855ae;hp=2073d7ff40b8205401f24f70db832c0c9d0266a5;hpb=995a145c931164347683071c95c6754379d36604;p=freeside.git diff --git a/conf/invoice_html b/conf/invoice_html index 2073d7ff4..fe2a9a976 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -87,7 +87,6 @@ <%= $summary %> <%= my $notfirst = 0; - my $columncount = $unitprices ? 5 : 3; foreach my $section ( grep { !$summary || $_->{description} ne $finance_section } @sections ) { if ($section->{'pretotal'} && !$summary) { $OUT .= '' if $notfirst; @@ -121,9 +120,7 @@ ''; if ($section->{header_generator}) { - my $header = &{$section->{header_generator}}(); - $OUT .= $header; - $columncount = scalar(my @array = split /<\/th>{header_generator}}(); } else { $OUT .= 'Ref'. 'Description'. @@ -165,25 +162,19 @@ $OUT .= ''; $lastref = $line->{'ref'}; if ( @{$line->{'ext_description'} } ) { - unless ( $section->{description_generator} ) { - $OUT .= '' : '>'; + $OUT .= ''; foreach my $ext_desc ( @{$line->{'ext_description'} } ) { $OUT .= ''. - ( $section->{'description_generator'} ? '' : '' ). ''. '' } - unless ( $section->{description_generator} ) { - $OUT .= '
/i ? '' : 'colspan=99' ). '>'. '  '. $ext_desc. '
'; - } - $OUT .= ''; + $OUT .= ''; } } @@ -207,7 +198,7 @@ } } if ($section->{'posttotal'}) { - $OUT .= ''; + $OUT .= ''; $OUT .= '

'. $section->{'posttotal'}. ''. @@ -233,8 +224,8 @@ $OUT .= &{$section->{total_line_generator}}($line); } else { $OUT .= qq( ). - qq('. + qq(' : '>' ). $line->{'total_item'}. ''. qq(). $line->{'total_amount'}. '';