X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=conf%2Finvoice_html;fp=conf%2Finvoice_html;h=35de6cf09cd1dc213664c761c1539a75967ce664;hp=cd348274fd94f372fd369e2af926e0ec0fac863d;hb=55753aaf5b1189c06a99fe5e0791fc33316df06f;hpb=4d81e21107622f8731a6301c3c811108840582fd 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 .= '
' if ( $notfirst || $section->{'pretotal'} && !$summary ); $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). - ''. - '

'. - '

'; + + ''; + } + $OUT .= '

'; $OUT .= ''.