X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=conf%2Finvoice_html;fp=conf%2Finvoice_html;h=1241f870e98dfbd12ab7ec2b0369082a13233c0a;hp=935c94346bf1f2054f2ad0b5e0a7ca3550f4c5f2;hb=b1ff95e68f17199e2289e1515e3a3b836cd195c8;hpb=977188119859438f213f1c35cafdbf5a28a258a6 diff --git a/conf/invoice_html b/conf/invoice_html index 935c94346..1241f870e 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -327,6 +327,61 @@

+<%= + + my @location_summary_sections = + grep { + ref $_->{location} + && $_->{locationnum} + && $_->{description} + && $_->{description} ne $finance_section + } @sections; + + if ( $multisection eq 'location' && scalar(@location_summary_sections) > 1 ) { + + $OUT .= ' +
+ + + + +
+

+ '.emt('Summary Of New Charges By Location').' +

+

+ + + + + + + + + + + '; + + for my $section (@location_summary_sections) { + next unless $section->{description}; + $OUT .= ' + + + + + + '; + } + + $OUT .= ' + + +
'.emt('Location').''.emt('Amount').'
'.$section->{description}.''. $section->{subtotal} .'
   
+

+ '; + +} %> + <%= length($summary) ? '' : ( $smallernotes