X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=conf%2Finvoice_html;h=cd348274fd94f372fd369e2af926e0ec0fac863d;hb=9970378e485e86b2c5281aeab4411087c4550bd6;hp=1d53683ad67011f5d63194c20f9290cf38e146e5;hpb=62b12e8b09608b7081ffd596be899fafb5c2403f;p=freeside.git diff --git a/conf/invoice_html b/conf/invoice_html index 1d53683ad..cd348274f 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -132,8 +132,8 @@ $OUT .= '' . emt('Ref') . ''. '' . emt('Description') . ''. ( $unitprices - ? '' . emt('Unit Price') . ''. - '' . emt('Quantity') . '' + ? '' . emt('Unit Price') . ''. + '' . emt('Quantity') . '' : '' ). '' . emt('Amount') . ''; } @@ -158,8 +158,8 @@ ( $line->{'ref'} ne $lastref ? $line->{'ref'} : '' ). ''. ''. $line->{'description'}. ''. ( $unitprices - ? ''. $line->{'unit_amount'}. ''. - ''. $line->{'quantity'}. '' + ? ''. $line->{'unit_amount'}. ''. + ''. $line->{'quantity'}. '' : '' ). @@ -191,7 +191,7 @@ } - if ($section->{'description'} || $multisection) { + if ($section->{'description'} || $multisection and !$section->{no_subtotal}) { my $style = 'border-top: 3px solid #000000;'. 'border-bottom: 3px solid #000000;'; $OUT .=