X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=conf%2Finvoice_htmlsummary;h=a06c8ffea841c164d966995559381078be5f0fc3;hp=b158478e1441a2d5ee5d7b8eedca3143f6cea31f;hb=76a1ecdb1b69fa83a8385adc4a50ac243096c994;hpb=db303b2cb273b45e03467f36e076b7c1db3bc4a4
diff --git a/conf/invoice_htmlsummary b/conf/invoice_htmlsummary
index b158478e1..a06c8ffea 100644
--- a/conf/invoice_htmlsummary
+++ b/conf/invoice_htmlsummary
@@ -32,9 +32,9 @@
|
<%=
- my ($last) = grep { $_->{tax_section} || !$_->{summarized} and !($finance_section && $_->{'description'} eq $finance_section)} reverse @sections;
+ my ($last) = grep { $_->{tax_section} || !$_->{summarized} and !($finance_section && $_->{'description'} eq $finance_section) and $_->{'description'} !~ /^\d+ $/ } reverse @sections;
- foreach my $section ( grep { $_->{tax_section} || !$_->{summarized} and !($finance_section && $_->{'description'} eq $finance_section)} @sections ) {
+ foreach my $section ( grep { $_->{tax_section} || !$_->{summarized} and !($finance_section && $_->{'description'} eq $finance_section) and $_->{'description'} !~ /^\d+ $/ } @sections ) {
$OUT .= ''. ($section->{'description'} ? $section->{'description'} : 'Charges' ). ' | ';
my $celltype = ($last == $section) ? 'th' : 'td';
$OUT .= qq(<$celltype align="right">). $section->{'subtotal'}. "$celltype>
";