From 694cd9058a9f1a89f0ffd2f2881ccc8491aebedb Mon Sep 17 00:00:00 2001 From: Mitch Jackson Date: Fri, 20 Apr 2018 00:29:09 +0000 Subject: RT# 79636 Location Summary Invoice Footer --- conf/invoice_html | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'conf/invoice_html') diff --git a/conf/invoice_html b/conf/invoice_html index 935c94346..555d1d944 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -327,6 +327,62 @@

+<%= + + 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 -- cgit v1.2.1