X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=conf%2Finvoice_html;h=35de6cf09cd1dc213664c761c1539a75967ce664;hb=313a3715952e448b9efda129597e83df514be4ec;hp=cd348274fd94f372fd369e2af926e0ec0fac863d;hpb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125;p=freeside.git diff --git a/conf/invoice_html b/conf/invoice_html index cd348274f..35de6cf09 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -11,7 +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 } +.allcaps { text-transform:uppercase; font-size: 12pt }
@@ -112,13 +112,25 @@ unless ($section->{'summarized'}) { $OUT .= ' |
';
- my $sectionhead = $section->{'description'} || emt('Charges');
- $OUT .=
- ' '. substr($sectionhead,0,1).
+ $OUT .= ' ';
+ my $sectionhead;
+ if ( $section->{'location'} ) {
+ $sectionhead = $section->{'location'}{'address1'};
+ $sectionhead .= ', '.$section->{'location'}{'address2'}
+ if length($section->{'location'}{'address2'});
+ $sectionhead .= ', ' .
+ $section->{'location'}{'city'} . ', ' .
+ $section->{'location'}{'state'} . ' ' .
+ $section->{'location'}{'zip'};
+ $OUT .= $sectionhead;
+ } else {
+ $sectionhead = $section->{'description'} || emt('Charges');
+ $OUT .= ''. substr($sectionhead,0,1).
''. substr($sectionhead,1).
- ''.
- ' '.
- ' |