X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=conf%2Finvoice_html;h=35de6cf09cd1dc213664c761c1539a75967ce664;hb=bd67b77325c4ba61e6de0b7c4aa24a473c60d181;hp=fc553d5d53e81253df6621053398744d2ccd5c66;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/conf/invoice_html b/conf/invoice_html index fc553d5d5..35de6cf09 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -11,6 +11,7 @@ .invoice_desc_more TD { font-weight: bold; font-size: 10pt } .invoice_extdesc TD { font-size: 8pt } .invoice_totaldesc TD { font-size: 10pt; empty-cells: show } +.allcaps { text-transform:uppercase; font-size: 12pt }
@@ -23,26 +24,26 @@
|
Description | '. - ( $unitprices - ? 'Unit Price | '. - 'Quantity | ' - : '' - ). - 'Amount | '; + $OUT .= '' . emt('Ref') . ' | '. + '' . emt('Description') . ' | '. + ( $unitprices + ? '' . emt('Unit Price') . ' | '. + '' . emt('Quantity') . ' | ' + : '' ). + '' . emt('Amount') . ' | '; } $OUT .= ''; @@ -163,8 +170,8 @@ ( $line->{'ref'} ne $lastref ? $line->{'ref'} : '' ). ''. ''. $line->{'description'}. ' | '. ( $unitprices - ? ''. $line->{'unit_amount'}. ' | '. - ''. $line->{'quantity'}. ' | ' + ? ''. $line->{'unit_amount'}. ' | '. + ''. $line->{'quantity'}. ' | ' : '' ). @@ -196,7 +203,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 .= @@ -207,7 +214,7 @@ } else { $OUT .= qq(' : '>' ). - $section->{'description'}. ' Total | '. + $section->{'description'}. ' ' . emt('Total') . ''. qq(). $section->{'subtotal'}. ' | '; }
---|