From b1ff95e68f17199e2289e1515e3a3b836cd195c8 Mon Sep 17 00:00:00 2001 From: Mitch Jackson Date: Thu, 19 Apr 2018 20:02:26 -0500 Subject: RT# 79636 Location Summary Invoice Footer --- conf/invoice_html | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) (limited to 'conf/invoice_html') 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 -- cgit v1.2.1