X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=conf%2Finvoice_html;h=fe2a9a9763c27889688bd6cebb7ee8bdd7f76cb4;hb=42ad860da02665aa21193d3bc418ef03e96727fb;hp=7a43aa6d5327469873f00fa64e1922afb99c40a6;hpb=a4b8ce8cd1d309de00c64f38049a8dda38798046;p=freeside.git diff --git a/conf/invoice_html b/conf/invoice_html index 7a43aa6d5..fe2a9a976 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -3,6 +3,8 @@ .invoice_header { font-size: 10pt } .invoice_headerright TH { border-top: 2px solid #000000; border-bottom: 2px solid #000000 } .invoice_headerright TD { font-size: 10pt; empty-cells: show } +.invoice_summary TH { border-bottom: 2px solid #000000 } +.invoice_summary TD { font-size: 10pt; empty-cells: show } .invoice_longtable table { cellspacing: none } .invoice_longtable TH { border-top: 2px solid #000000; border-bottom: 1px solid #000000; padding-left: none; padding-right: none; font-size: 10pt } .invoice_desc TD { border-top: 2px solid #000000; font-weight: bold; font-size: 10pt } @@ -11,7 +13,7 @@ .invoice_totaldesc TD { font-size: 10pt; empty-cells: show } -
+
|
';
+ if ($section->{'description'}) {
+ $OUT .=
+ ' '. uc(substr($section->{'description'},0,1)). + ''. uc(substr($section->{'description'},1)). + ''. + ' '; + }else{ + $OUT .= + ' CHARGES'. + ' '; + } + $OUT .= ' |
Ref | '. - 'Description | '. - ( $unitprices - ? 'Unit Price | '. - 'Quantity | ' - : '' - ). - 'Amount | '. - '||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
'. - ( $line->{'ref'} ne $lastref ? $line->{'ref'} : '' ). ' | '. - ''. $line->{'description'}. ' | '. - ( $unitprices - ? ''. $line->{'unit_amount'}. ' | '. - ''. $line->{'quantity'}. ' | ' - : '' - ). - - ''. $line->{'amount'}. ' | '. - '||||||||||||||||||||||||||||||||||||||||||
' : '>';
- $OUT .= '
';
}
- }
-
- if (scalar(@sections) > 1) {
- my $style = 'border-top: 3px solid #000000;'.
- 'border-bottom: 3px solid #000000;';
- $OUT .=
- ' | | ).
- qq(' : '>' ).
- $section->{'description'}. ' Total | '.
- qq().
- $section->{'subtotal'}. ' | '.
- ' | );
+ if ($section->{total_generator}) {
+ $OUT .= &{$section->{total_generator}}($section);
+ } else {
+ $OUT .= qq(' : '>' ).
+ $section->{'description'}. ' Total | '.
+ qq().
+ $section->{'subtotal'}. ' | ';
+ }
+ $OUT .= '';
$OUT .=
@@ -189,6 +206,8 @@
$OUT .= ' | | ).
- qq(' : '>' ).
- $line->{'total_item'}. ' | '.
- qq().
- $line->{'total_amount'}. ' | '.
- ' | ).
+ qq(' : '>' ).
+ $line->{'total_item'}. ' | '.
+ qq().
+ $line->{'total_amount'}. ' | ';
+ }
+ $OUT .= '-<%= $notes %> +<%= length($summary) + ? '' + : ( $smallernotes + ? ''.$notes.'' + : $notes + ) +%> - <%= $footer %> + ><%= $footer %> |